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

Using Escape key in GridView

2 Answers 35 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Naseem
Top achievements
Rank 1
Naseem asked on 14 Apr 2011, 12:37 AM
Hi,

I'm using RadGridView which is editable . By using Escape key on this Grid view all the values of selected Row will return to their old values . For implementing that I've used the link bellow

http://blogs.telerik.com/mayazhecheva/posts/10-06-30/how_-_to_change_the_default_keyboard_behavior_in_radgridview_for_silverlight_wpf.aspx

It's working fine ,till the time I need to show a messagebox (which is a child window) . After the mesage box is closed , although the selectedItem has been set to a specific row , the escape key doesn't work . Unless I do mouse click on that specific row , then escape key start working .

Would you please help me what should I do,
Thank you so much

2 Answers, 1 is accepted

Sort by
0
Accepted
Maya
Telerik team
answered on 14 Apr 2011, 08:31 AM
Hi Naseem,

Most probably the reason for this behavior is that the focus in no longer on the grid. If you want to empower the Esc button or any other key, you will have to focus the RadGridView after closing the message box. 

 

All the best,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Naseem
Top achievements
Rank 1
answered on 15 Apr 2011, 12:37 AM
Hi Maya,

Thank you so much . Your suggestion fixed the issue :)

Many thanks

Kind Regards,
Naseem
Tags
GridView
Asked by
Naseem
Top achievements
Rank 1
Answers by
Maya
Telerik team
Naseem
Top achievements
Rank 1
Share this question
or