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.

CharacterChasing in TextBox cell

Thread ID:





3607 Mar 30,2003 01:18 AM Mar 30,2003 09:23 AM Windows Forms 1
Tags: GridControl
Asked On March 30, 2003 01:18 AM

I noticed that you can not switch the character chasing of a TextBox-Column to only allow upper or lower characters. Is there any simple way to do this or do I have to derive my own CellStyle to do this? And if I derive my own CellStyle do I have to use the normal MS TextBox? What features do I loose if I do use the normal TextBox?

Administrator [Syncfusion]
Replied On March 30, 2003 09:23 AM

One way you can do this withour deriving a celltype is to handle the CurrentCellKeyPress event and make any lowercase characters upper case by setting e.Handled to true and using SendKeys to send the upper case character.
private void gridDataBoundGrid1_CurrentCellKeyPress(object sender, KeyPressEventArgs e)
		e.Handled = true;


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.