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

SelectedText in current cell

Thread ID:

Created:

Updated:

Platform:

Replies:

94112 Apr 22,2010 09:07 AM UTC Apr 23,2010 11:43 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Jasper Tam
Asked On April 22, 2010 09:07 AM UTC

Hi,

I am using window essential grid.
I want to ask how can I select the whole text ( selectedtext of textbox ) of the current cell when start editing a cell instead of just set focus on the cell as I want to clear the cell once the user try to type anything in the cell.

Thanks,
Jasper

Jisha Joy [Syncfusion]
Replied On April 23, 2010 11:43 AM UTC

Hi Jasper,

You could try setting the ActivateCurrentCellBehavior property to 'SelectAll' to achieve the desired behavior. See the code:

this.gridDataBoundGrid1.ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll;

Regards,
Jisha

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

;