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

[Solved] Grid commands displaying a seperate view instead of inline

1 Answer 12 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.
Michael
Top achievements
Rank 1
Michael asked on 23 May 2011, 01:10 PM
Is it possible to have the Edit, Delete, etc, commands render a view when clicked? At the moment that seem to edit inline, in a form within the grid, etc, but I have a seperate view that I would like displayed when performing these types of actions.

Kind Regards

Michael

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 24 May 2011, 08:04 AM
Hello Michael,

 The built-in editing comands support inline, inform and popup editing only. If you want to navigate to a different view you should use a template column with custom buttons in it. Here is an example:

columns.Template(o =>
{
   %>
       <%= Html.ActionLink("Edit", "Edit", "Home", new { id = o.OrderID }) %>
   <%
}

All the best,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Michael
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or