Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Infragistics Ultragrid

Posted on 2016-08-01
3
Medium Priority
?
208 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 30

Accepted Solution

by:
anarki_jimbel earned 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

926 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