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

[Solved] Update/Insert not firing in Grid--Getting wrong route in IE9 Compatibility mode

1 Answer 30 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Craig
Top achievements
Rank 1
Craig asked on 01 Oct 2011, 05:08 PM
I have been working with this for a couple of days. A project showing the issue is attached.  To see the behaviour, start the project.  Click on the Edit User link on the first tab.  When the edit user page appears, click on Insert or Edit on the grid.  The popup that appears has either an Update or Insert button but neither fire.  That is the same in Chrome and IE9.  In IE9 Compatibility mode the Update or Insert button on the popup fire but are routed to the Edit action rather than the UpdateUser or InsertUser actions as defined on the grid.

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 04 Oct 2011, 10:08 AM
Hello Craig,

The behavior you have described is caused by the fact that grid component is inside form element. As you may know when grid is set in edit mode a form element will be generated, thus in your scenario there will be two nested forms which is not valid html and is not supported by the browsers. In order to resolve this grid should be outside of the form.

All the best,
Rosen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
Grid
Asked by
Craig
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or