Solved

Infragistics Ultragrid

Posted on 2016-08-01
3
68 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Javascript Refresh Parent Page from Popup 3 28
Get String split 5 33
c# if statement weird reaction 3 30
Achieve json result 2 35
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now