Is it possible to set image instea开发者_StackOverflow社区d \">>>\" and how?" />
开发者

html helper html.RouteLink is it possible to place Image? c#

开发者 https://www.devze.com 2023-01-13 13:14 出处:网络
>>\", new { page = (Model.PageIndex + 1) },null)%> Is it possible to set image instea开发者_StackOverflow社区d \">>>\" and how?
>>", new { page = (Model.PageIndex + 1) },null)%>

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消