Definitions
Sorry, no definitions found. You may find more data at routelink.
Etymologies
Sorry, no etymologies found.
Support
Help support Wordnik (and make this page ad-free) by adopting the word RouteLink.
Examples
-
First of all, any link that I created using the much more performant Html. RouteLink (instead of Html. ActionLink) just stopped working.
-
First of all, any link that I created using the much more performant Html. RouteLink (instead of Html. ActionLink) just stopped working.
-
Html. RouteLink (Preview 3) = = Html. ActionLink (Preview 2)?
ScottGu's Blog 2008
-
Note: with this week's source drop you need to pass-in the controller and action parameters (in addition to the Category param) to the Html. RouteLink () helper to resolve the correct route URL to generate.
ScottGu's Blog 2008
-
The ASP. NET MVC Preview 3 drop in a few weeks will not require this, and allow you to use the Html. RouteLink call exactly as I've written it above to resolve the route.
ScottGu's Blog 2008
-
For example, we could use the Html. RouteLink view helper to indicate that we want to link to our "Products-Browse" route and pass it a "Food" category parameter using code in our view template like below:
ScottGu's Blog 2008
-
RouteLink allows you to generate the links based on a "named route" that you've explictly declared.
ScottGu's Blog 2008
-
That returns an anonymous type, which the Html. RouteLink helper method then uses to determine key / value pairs.
ScottGu's Blog 2008
Comments
Log in or sign up to get involved in the conversation. It's quick and easy.