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

Edit input cell restriction . .

Thread ID:





32551 Aug 3,2005 03:13 PM UTC Aug 3,2005 03:25 PM UTC WinForms 1
Tags: GridControl
Adam K.
Asked On August 3, 2005 03:13 PM UTC

i want a cell in a virtual grid to be editable by a user but i want to enforce the following restriction .. Any Number or a list of predefined harded string values. for example, if the predefined values where: AA, BB & CC These would all be valid values for user input: 10, .01, 100, AA, BB, CC Another other letter or character combination would not be valid or allowed.. thks, ak

Administrator [Syncfusion]
Replied On August 3, 2005 03:25 PM UTC

You can handle the CurrentCellValidateString event. In the handler, e.Text will hold teh proposed text. If you do not want to accept it, set e.cancel = true. This event should be hit on each keystroke.


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