开发者

Create Html.ActionLink without caption encoding

I need to create a link with caption "next + →". Is there any way 开发者_如何学Pythonto create Html.ActionLink without caption encoding?


I've run into this issue and didn't find an easy way around it. Sadly the title parameter is a simple System.String instead of an MvcHtmlString.

When my team needed unencoded titles, we just fell back to anchor tags.

<a href="Url.Action(/* etc. */)">raw html</a>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜