We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Set max length of numeric value in grdcombobox.

I'm working in VB.net 2013.  I have a grid control that has a dropdown combobox in two of the cols.  I load them from a string collection and the values can only be 4 digits long.  I am loading the box just fine, but I don't want the user to be able to type a value greater then 4 digits and what i'd really like is for them to only type values that fall between the values that are in my string collection that i set up the choice list from.  So for example.  Right now say my low value in the dropdown is 5000 and the high is 9999.  Now they can type 99999983484848484 or whatever number greater then 4 digits.  I want them to be able to only type 4 digits and then stop them.  I've set the maxlength to 4 and that doesn't seem to do anything.



1 Reply

MS Maniratheenam Sehar Syncfusion Team June 30, 2014 03:45 AM UTC

Hi Philip,

We would like you to followup your reported query for which the solution is provided in the incident id # 126601.

ManiRatheenam S

Live Chat Icon For mobile
Up arrow icon