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

Grid with Usercontrol, Enter Key fires the Add New of the Grid

2 Answers 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 10 Oct 2014, 06:59 PM
I have a grid with a User control for Adding/Editing records. The first field on the User control is a textbox.  If I enter text and press the enter key the "Add New" of the Grid is fired.  I want to capture the Enter Key and either do nothing or replace it with a  Tab to the next field.

2 Answers, 1 is accepted

Sort by
0
Accepted
Eyup
Telerik team
answered on 15 Oct 2014, 10:00 AM
Hello Matt,

You can check the following post to achieve the requested functionality:
http://www.telerik.com/forums/radgrid-disable-enter-key#KAn1O5APR0SaXfk3MrhL9Q

Hope this helps.

Regards,
Eyup
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Matt
Top achievements
Rank 1
answered on 15 Oct 2014, 04:29 PM
That was exactly what I was looking for!  Thank you!

I used the hidden default button option.

Matt
Tags
Grid
Asked by
Matt
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Matt
Top achievements
Rank 1
Share this question
or