asp.net mvc - Url.Action passing fragment -
how 1 pass inline anchor using urlhelper in asp.net mvc?
for example, if have url:
/foo/bar/information/faq#toc and using following url.action except #toc fragment
<a class="next" href='@url.action("bar", "foo", new { subpath = "information/faq" } )'>my link text</a> my question: there overload url.action pass in #toc fragment? i'd rather not use hardcoded concatenation or @url.content (admittedly way cheat of time).
use html.actionlink linkextensions passing "toc" fragment parameter:
Comments
Post a Comment