Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Infragistics Ultragrid

Posted on 2016-08-01
3
Medium Priority
?
194 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

715 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