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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SelectedText in current cell

Thread ID:





94129 Apr 23,2010 01:15 AM UTC Apr 28,2010 09:18 AM UTC WinForms 1
Tags: GridControl
Jasper Tam
Asked On April 23, 2010 01:15 AM UTC


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.


Christopher Issac Sunder K [Syncfusion]
Replied On April 28, 2010 09:18 AM UTC

Hi Jasper,

Thank you for your interest in Syncfusion products.

To select the whole text of the current cell in the GridControl when start editing, you can make use of the following code to achieve it.

this.gridControl1.ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll;

Please let me know if you have any further concerns.

Christopher K


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