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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CharacterChasing in TextBox cell

Thread ID:





3607 Mar 30,2003 06:18 AM UTC Mar 30,2003 02:23 PM UTC WinForms 1
Tags: GridControl
Asked On March 30, 2003 06:18 AM UTC

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 02:23 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon