Guest User

Untitled

a guest
Jul 18th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. public class PeopleGridModel : GridModel<Person> {
  2. public PeopleGridModel(HtmlHelper html) {
  3. Column.For(x => html.ActionLink("View Details", "Show", new{id = x.Id}));
  4. }
  5. }
  6.  
  7. <%= Html.Grid(Model).WithModel(new PeopleGridModel(Html)) %>
Add Comment
Please, Sign In to add comment