I was trying to create an option to switch between a list view and widget view in ASP.net MVC (with razor view engine).
However, I am having some trouble trying to both
You need to create the anchor by hand, and insted of using the @Html.ActinLink
helper... you can use the @Url.Action
helper
List View
|
Grid View
The size of the image can be modified via CSS.
The Url.Action gives you the "link to your action". The ActionLink, creates an anchor with the link to the action.