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

Grid Uppercase

Thread ID:





38593 Dec 15,2005 01:10 PM UTC Dec 27,2005 03:38 PM UTC WinForms 2
Tags: Tools
Narendra Maharaj
Asked On December 15, 2005 01:10 PM UTC

Is there a way to convert all characters entered into a GridControl to Uppercase? Also how can I limit the character set to say "S", "B"?

stanleyj [Syncfusion]
Replied On December 15, 2005 03:09 PM UTC

Hi Narendra, By setting the CellType as OriginalTextBox and CharacterCasing to Upper all entries to the grid will be upper cased. To check for certain character entries try canceling the action in the CurrentCellValidateString handler with a Condition check for those character. CurrentCellValidateString is raised for each and every entries that are made in the grid and the e.Text holds the text of the cell. style.CellType = "OriginalTextBox"; Style.CharacterCasing = CharacterCasing.Upper; Best regards, Stanley

Administrator [Syncfusion]
Replied On December 27, 2005 03:38 PM UTC

Thanks Stanley, this works perfectly.


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