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.
Unfortunately, activation email could not send to your email. Please try again.

Grid Uppercase

Thread ID:

Created:

Updated:

Platform:

Replies:

38593 Dec 15,2005 08:10 AM Dec 27,2005 10:38 AM Windows Forms 2
loading
Tags: Tools
Narendra Maharaj
Asked On December 15, 2005 08:10 AM

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 10:09 AM

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 10:38 AM

Thanks Stanley, this works perfectly.

CONFIRMATION

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.

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.

;