infragistics numeric editor+ alllow user to input the value max
-
Hi all, I am very new to windows form and facing a problem with infragistics numeric editor. I need to allow user to input the value max "100.00%" or below (like 45.78, 99.00, 99.99). I am setting following propety for this: MaskDisplayMode =IncludeBoth MastInput= {LOC}nn.nn% MaxValue= 100 MinValue = 0 It allows user to input 100.99% but i need to restrict so that user cann't input more than 100.00 Help really appreciated.
Thanks, Sri
-
Hi all, I am very new to windows form and facing a problem with infragistics numeric editor. I need to allow user to input the value max "100.00%" or below (like 45.78, 99.00, 99.99). I am setting following propety for this: MaskDisplayMode =IncludeBoth MastInput= {LOC}nn.nn% MaxValue= 100 MinValue = 0 It allows user to input 100.99% but i need to restrict so that user cann't input more than 100.00 Help really appreciated.
Thanks, Sri
srinandan.. wrote:
Help really appreciated.
Ask the infragistics support team. It's not a generic control, not part of the framework.
srinandan.. wrote:
It allows user to input 100.99%
Sounds like a bug where one only checks the integer-part for the max, not the decimal. You could easily do this without infragistics; there's quite some material out there on "validation".
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]