html helper html.RouteLink is it possible to place Image? c#
Is it possible to set image instea开发者_StackOverflow社区d ">>>" and how?
Take care, Ragims
Possible duplicate.
MVC - RouteLink and Image
Please check out the Link in that question and view the provided examples for the custom ImageLink Helper.
<a href="<%= Url.RouteUrl(new { page = (Model.PageIndex + 1) })">
<img src="next.jpg" />
</a>
I'm unsure of the exact syntax, don't have ASP.NET MVC on the current machine.
精彩评论