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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Set max length of numeric value in grdcombobox.

Thread ID:





116880 Jun 24,2014 04:33 PM UTC Jun 30,2014 03:45 AM UTC WinForms 1
Tags: GridControl
Philip Bishop
Asked On June 24, 2014 04:33 PM UTC

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.



Maniratheenam Sehar [Syncfusion]
Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon