This is a migrated thread and some comments may be shown as answers.

Event for user started typing in grid cell

1 Answer 39 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Anne Lyon
Top achievements
Rank 1
Anne Lyon asked on 19 Dec 2012, 01:08 PM
I need to figure out how to catch the event where the user starts typing in a grid cell so that I can enable my Save and Undo buttons at that point.
I have found the PreparedCellForEdit which fires when the cell goes into edit mode, but at this point the user has not changed anything, so this fires too early. I don't want to enable my Save button beforethe user has actually typed something..
I have also found the CellEditEnded event, but this doesn't fire until the user has left the cell. That means he/she needs to select another cell before the application can enable the Save button.

Isn't there an event I can catch which fires only when the user starts typing something in a cell? 

Anne

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 19 Dec 2012, 02:19 PM
Hello,

RadGridView does not provide such event. You may use the events which TextBox provides by placing a TextBox of your own in the CellEditTemplate.


Greetings,
Pavel Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Anne Lyon
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or