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

Focus on "Add new record" button in grid

1 Answer 127 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ray
Top achievements
Rank 1
Ray asked on 26 Jul 2011, 10:36 PM
We have a RadGrid in the page to allow user add/delete record. After a recorded is inserted, is there a way to set focus on the "Add New record" button in grid so user can add another record directly instead of moving mouse to click it? Or the only option is to add Short-Cut key to reduce the mouse operation? 

Thanks.

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 27 Jul 2011, 10:17 AM
Hello Ray,

If you enable the RadGrid keyboard navigation you can use a shortcut to open the edit form.
Otherwise you can open the insert form manually:
RadGrid1.MasterTableView.IsItemInserted = false;
RadGrid1.Rebind(); //rebinding the grid might not be necessary depending on what is the implementation of the update operation


Give it a try and let me know if it works for you.

Kind regards,
Iana
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Ray
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or