I found the issue below, which sounds similar, but the solution won't work because the telerik.grid.editing.js is different.
http://www.telerik.com/community/forums/aspnet-mvc/grid/double-inserts-when-enter-key-pressed.aspx
Clicking the update button works fine and creates only a single entry, as expected, but the problem occurs when pressing the Enter key in the edit template.
Joe
6 Answers, 1 is accepted
I'm afraid that I'm unable to recreate the described behavior locally. Could you please provide a small runnable sample in which it can be observed?
All the best,Rosen
the Telerik team
I've attached a project that duplicates the error. It's a Grid for editing Customers, with a Detail View containing a tab holding another grid of orders for that customer. I only needed one tab to reproduce the problem, but the actual implementation contains more tabs and the problem occurs on each subsequent tab containing a grid. Please follow these steps to reproduce:
1. When the application runs, you'll see the main grid. Click the Insert button, type in a Name, and press the Enter key.
2. Observe that the grid functions normally and there is only one customer entry. This is correct and what I expected.
3. Next, click the '+' icon to open the details view. You'll see an Orders tab.
4. Click the Insert button on the Orders tab and type a Description, and press the Enter key.
Note: Don't click the Save button, because you won't see the problem. The problem only occurs when you press Enter.
5. Observe that two items are added to the list. It should have been just one.
Thanks,
Joe
Thank you for the additional details and sample project. Indeed, you are correct in your observation. However, we have managed to address this issue and I'm attaching an internal build which contains the fix. I have also updated your telerik points.
Regards,Rosen
the Telerik team
Joe
Is there a simiar fix for Q2.712? I am still encountering this issue with the latest MVC release of July 12.
Cheers!
I'm afraid that I'm unable to recreate the same behavior using the latest release. Are you able to observe the same issue using the project attached in this thread and our latest build? If not maybe you could provide a sample in which it can be observed.
All the best,Rosen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items