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

[Solved] MVC Grid - Problem with in-line edit

1 Answer 34 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
fernando
Top achievements
Rank 1
fernando asked on 09 May 2012, 04:04 PM
Hi,

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:

                .Columns(cols =>
                        {
                            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);
                            cols.Command(commands =>
                            {
                                commands.Edit().ButtonType(GridButtonType.Image);
                                commands.Delete().ButtonType(GridButtonType.Image);
                            }).Width(200).Title("test");
                           }//end cols
                       ) //end Columns
                            .Editable(editing => editing
                            .Mode(GridEditMode.InLine))
                            
                            
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
(/Home/Detail) .

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

1 Answer, 1 is accepted

Sort by
0
Sven
Top achievements
Rank 1
answered on 20 May 2013, 02:07 PM
We have the same problem. Any solution for this one?
Tags
General Discussions
Asked by
fernando
Top achievements
Rank 1
Answers by
Sven
Top achievements
Rank 1
Share this question
or