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

Insert and Edit on custom view

0 Answers 23 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.
raphael
Top achievements
Rank 1
raphael asked on 22 May 2012, 12:13 PM
Hi I'm wondering if it is possible to force the grid to go to a custom view when I try to insert or edit a record, instead of using the editing mode in-line, in-form or pop-up, i would like to be redirected to a new page, like create.cshtml o edit.cshtml, as I would do when I'm working with normal table like the example below:
 
<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table id="myTable" class="tablesorter"
@foreach (var item in Model) {
    <tr>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.PersonID }) |
            @Html.ActionLink("Details", "Details", new { id=item.PersonID }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.PersonID })
        </td>
    </tr>
}
</table>

thank you for the help

Raphael
Tags
Grid
Asked by
raphael
Top achievements
Rank 1
Share this question
or