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

How to handle Enter key in Popup Edit form

1 Answer 97 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Orlando
Top achievements
Rank 1
Orlando asked on 23 Sep 2010, 12:10 AM
In RADGrid, how to make 'Enter' key to accept the change in a popup edit form and return to parent grid control?

What it does now is when I press 'Enter' in a popup edit form, it pops up another edit form for another grid control in the same window. How could that happen?

Ken

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 23 Sep 2010, 06:28 AM
Hello Ken,

One suggerstion is using Panel control inside EditFormTemplate and setting the DefaultButton to UpdateButton, so that it will trigger the UpdateButton's click event when pressing the Enter key.

Find the forum link which describes same:
Defaultbutton in EditMode


-Shinu.
Tags
Grid
Asked by
Orlando
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or