Solved

Infragistics Ultragrid

Posted on 2016-08-01
3
125 Views
Last Modified: 2016-08-08
I'm using the Infragistics Ultragrid in a VB.NET desktop app.  I'm setting a column to only allow non-negative integer data.    I have multiple forms that use this grid and I'm using the same column settings on each  form.  One a single form there an issue - the last three lines of code below DO NOT take effect for the first row that is added to the grid until I tab out of that quantity field.  Once I tab out, all is fine for the quantity cell for ANY row.  But for that first row right after it's added, I can enter alpha character and there's no mask,  I don't know what I'm doing different on this one form.   It is, however, right aligned, as per second line of code.  

Is there a method/property I can use to force the custom column settings to take effect immediately?


 Me.Grid.DisplayLayout.Bands(0).Columns("quantity").Header.Appearance.TextHAlign = Infragistics.Win.HAlign.Right
 Me.Grid.DisplayLayout.Bands(0).Columns("quantity").CellAppearance.TextHAlign = Infragistics.Win.HAlign.Right
 
Me.Grid.DisplayLayout.Bands(0).Columns("quantity").Style = Infragistics.Win.UltraWinGrid.ColumnStyle.IntegerNonNegative
Me.Grid.DisplayLayout.Bands(0).Columns("quantity").PromptChar = " "
Me.Grid.DisplayLayout.Bands(0).Columns("quantity").MaskInput = "nnnnnnnn"
0
Comment
Question by:HLRosenberger
  • 2
3 Comments
 
LVL 29

Accepted Solution

by:
anarki_jimbel earned 500 total points
ID: 41738737
Sorry, I have no answer but I just want to give an advice (same as I gave recently answering another question).

As far as I remember no or very few  Infragistics related questions were answered here. Most people just don't know about it at all. I used it years ago, now haven't it installed on my computer and unfortunately can't look at the problem more closely.
I'd suggest you discuss the problem on some of Infragistics forums (that's what I did when worked with Infragistics):
http://www.infragistics.com/community/forums/ .
Or look at
http://www.infragistics.com/community/forums/178.aspx
0
 
LVL 1

Author Comment

by:HLRosenberger
ID: 41738894
Thanks so much for that info!
0
 
LVL 1

Author Closing Comment

by:HLRosenberger
ID: 41747173
thanks
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question