Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class PeopleGridModel : GridModel<Person> {
- public PeopleGridModel(HtmlHelper html) {
- Column.For(x => html.ActionLink("View Details", "Show", new{id = x.Id}));
- }
- }
- <%= Html.Grid(Model).WithModel(new PeopleGridModel(Html)) %>
Add Comment
Please, Sign In to add comment