asp.net mvc - RouteLink without link? -


Is linking to the route table without linking?

i.e. only www.foo.com/someroute/34 without linking

/ m

You can use the extension method:

  & lt;% = Url.RouteUrl ("default", new {id = 75})% & Gt;  

And if you want a full url:

  & lt;% = Url.RouteUrl ("default", new {id = 75} Request Url.Scheme)% & gt;  

Comments

Popular posts from this blog

iphone - How do I make a UIPickerView in a UIActionSheet -

excel - Populate list via a bi-Condition -