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

[Solved] DetailView and Html.BeginForm?

1 Answer 124 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.
Jakub
Top achievements
Rank 1
Jakub asked on 17 Feb 2011, 11:53 AM
.DetailView(@<text>@using(Html.BeginForm(..... not working, why?

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 17 Feb 2011, 12:28 PM
Hi Jakub,

 This will not work because the form writes directly to the output stream. You can try usisng the Render() method of the grid in this case:

@{ Html.Telerik().Grid().DetailView(...)
.Render();
}

Regards,
Atanas Korchev
the Telerik team
Tags
Grid
Asked by
Jakub
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or