on May 9, 2012
i've a problem with the mvc grid edit and delete command:
My main view (/Home/Index) contains a MVC Window component, that open a second page (/Home/Detail) by executing the LoadContentFrom method.
Inside this second page there is a Mvc Grid, with edit and delete buttons:
cols.Bound(o => o.Label);
cols.Bound(o => o.P6);
cols.Bound(o => o.P12);
cols.Bound(o => o.P24);
cols.Bound(o => o.P36);
) //end Columns
.Editable(editing => editing
The problem es that when i click the edit button, i get redirected to the first page(/Home/Index), insted of keeping in the second one
I tested the detail page (/Home/Detail) outside the window component and its work ok.
Any help? thank you very much.
UPDATE: I'm using MVC3 and Telerik 2012