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

Radgrid Edit Mode - Capture Enter Key and Fire Update

1 Answer 188 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sekhar
Top achievements
Rank 1
Sekhar asked on 29 Jun 2010, 03:19 AM
Hi 

i am using Rad grid , which contains Add,Edit, Delete image controls.  
if i am editing the first row and press enter key ,update method is called, if i edit other than first row the delete method is called. 
What should i do to prohibit this.

In the edit mode , if i press enter key it should call update method only, please let me know how can i achieve this..

Thanks!

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 29 Jun 2010, 02:00 PM
Hello Sekhar,

In case you would like to use the keyboard to initiate edit and update operations for RadGrid for ASP.NET AJAX, consider enabling the keyboard navigation feature of the control as illustrated on this example:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/keyboardnavigation/defaultcs.aspx

Note that you need to focus the Update/Insert or Cancel key first (using the TAB key) and then press ENTER to process the action.

Best regards,
Sebastian
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
Tags
Grid
Asked by
Sekhar
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or