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

[Solved] RadGrid inline Enter submit

1 Answer 204 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rob T
Top achievements
Rank 1
Rob T asked on 28 Apr 2008, 06:44 PM
Hi,

I am using RadGrid's (4.6.2.0) that have a few text boxes, an edit link, and a delete link.  I use them through out my site.  I am not using ajax and I am editing inline.

While editing with the focus in one of the textfields I hit the return key and the page posts back but when it's finished reloading it is still in edit mode and displays the original values, not the one I just changed.

I'd like to have either one of two ethings happen when I hit Enter, either the page does nothing (like your demo) or it calles the Update. 

Whats the best way to correct this site wide?

Thanks,

RobT

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 29 Apr 2008, 12:31 PM
Hi Rob T,

the functionality that you requested is not available out-of-the-box, but can be achieved through custom code. For example, you can use the onKeyPress event handler, trap the Enter key press, set focus on the Update key for the edit form, and simulate a click. Better yet, you can make an AjaxRequest, and update the control from the code-behind.
I hope this information helps.

Best wishes,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Rob T
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or