How can I do something similar to Html.ActionLink() except place the generated link around an Image instead of just spitting out the link?
Asp.net-mvc – Make an Html.ActionLink around an Image in ASP.NET MVC
asp.net-mvc
Related Topic
- Asp.net-mvc – Compile Views in ASP.NET MVC
- C# – How to handle multiple submit buttons in ASP.NET MVC Framework
- Asp.net-mvc – Html.ActionLink as a button or an image, not a link
- Asp.net-mvc – How to get ELMAH to work with ASP.NET MVC [HandleError] attribute
- Asp.net-mvc – ASP.NET MVC – Set custom IIdentity or IPrincipal
- Asp.net-mvc – How to get all Errors from ASP.Net MVC modelState
- C# – File Upload ASP.NET MVC 3.0
Best Answer
Razor (View Engine):
ASPX (View Engine):
Obviously, if you do this more than once, write a helper for it. And fill in the other attributes of img/a. But this should give you the general idea.