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

Key Up Event in Rad Grid View

1 Answer 47 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sasmita
Top achievements
Rank 1
Sasmita asked on 04 Aug 2008, 03:30 PM
Hi,

I have a grid view. I want to validate each cell element, when user does Key up or Key down on the cells. How would i do it. I tried radGridView1_KeyDown , radGridView1_KeyPress and radGridView1_KeyUp events, but these events are not getting fired when i do a Key up or Key Down. Do i need to set any property to fire it.


Any kind of help is appreciated.

Sasmita

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 06 Aug 2008, 01:35 PM
Hello Sasmita,

Currently RadGridView key events do not fire on keyboard action in a grid editor (perhaps this will be available in the future). I think you could use ValueChanging/ValueChanged events instead, to examine the value in the editor every time it is changed. You could also use Validating/Validated events to perform validation when the editor closes and its value is saved in the cell. 

If you have any additional questions, we'll be glad to help you further. 

Best wishes,
Georgi
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Sasmita
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or