Reputation: 2120
In the MVC 3 book by Steven Sanderson on p185 at the bottom, the following expression is used to render the paging links.
@Html.PageLinks(Model.Paginginfo, x=> Url.Action("List", new {page = x}))
What is the VB.NET equivalent? I am stuck on the x url lambda bit.
Upvotes: 4
Views: 984
Reputation: 96497
In VB.NET the lambda should be equivalent to this:
Function(x) Url.Action("List", New With { .Page = x })
You can refer to MSDN for more information about VB.NET's:
Upvotes: 4