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.
Syncfusion Feedback

Pressing CTRL+I inserts TAB char in textbox cell

Thread ID:

Created:

Updated:

Platform:

Replies:

13259 Apr 23,2004 03:45 PM UTC Apr 23,2004 04:14 PM UTC Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On April 23, 2004 03:45 PM UTC

Hi, I am using 1.6.1.8 data bound grid. When CTRL+I is pressed in a textbox, it is inserting a Tab character. Is this a bug or an intended behavior? Is there anyway to supress this behavior without deriving own textbox cell, at grid level may be? thanks, - Reddy

Administrator [Syncfusion]
Replied On April 23, 2004 04:14 PM UTC

Try handling CurrentCellValidateString.
private void gridDataBoundGrid1_CurrentCellValidateString(object sender, GridCurrentCellValidateStringEventArgs e)
{
	if(e.Text.IndexOf(''\t'') > -1)
		e.Cancel = true;
}

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.

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

;