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

RadGrid - Insert/Update on Enter

2 Answers 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
James Hacking
Top achievements
Rank 1
James Hacking asked on 20 Sep 2010, 10:42 AM
Hi,

I have a radgird which allows the user to insert a new record using a form template. However, when the user enters the required information, then presses enter the insert command is not fired.

Is there any way to wire up the grid to force an insert when the user presses enter?

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 20 Sep 2010, 12:18 PM
Hello James,

One opttion is using Panel control in FormTemplate and set the DefaultButton to UpdateButton/InsertButton. It will trigger the UpdateButton/InsertButton's click event when pressing the Enter key.

Please refer the following forum which explains the same.
Defaultbutton in EditMode


Thanks,
Princy.
0
James Hacking
Top achievements
Rank 1
answered on 20 Oct 2010, 01:31 PM
Thanks for your help.
Tags
Grid
Asked by
James Hacking
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
James Hacking
Top achievements
Rank 1
Share this question
or