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
close icon

Pressing CTRL+I inserts TAB char in textbox cell

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

1 Reply

AD Administrator Syncfusion Team 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;
}

Loader.
Live Chat Icon For mobile
Up arrow icon