Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Sep 01, 2008 01:14 PM by Andrea Balducci
0 Points
2 Posts
Aug 31, 2008 10:47 AM|LINK
I need to pass the route name parameter to Html.ActionLink<T> as I can do with Html.AppActionLink(xxx).
Star
7702 Points
1099 Posts
Microsoft
Sep 01, 2008 08:22 AM|LINK
Why not use the Html.RouteLink() helper? You can't use lambda expressions with it, but in the normal usage case if you're specifying a route name, then a controller and action are implied by that particular route.
Sep 01, 2008 01:14 PM|LINK
I'm already using the RouteLink helper, but i want to switch to lambda expressions because the code is cleaner and refactoring is simpler.
Andrea Baldu...
0 Points
2 Posts
Html.ActionLink<T> should accept route name parameter
Aug 31, 2008 10:47 AM|LINK
I need to pass the route name parameter to Html.ActionLink<T> as I can do with Html.AppActionLink(xxx).
levib
Star
7702 Points
1099 Posts
Microsoft
Re: Html.ActionLink<T> should accept route name parameter
Sep 01, 2008 08:22 AM|LINK
Why not use the Html.RouteLink() helper? You can't use lambda expressions with it, but in the normal usage case if you're specifying a route name, then a controller and action are implied by that particular route.
Andrea Baldu...
0 Points
2 Posts
Re: Html.ActionLink<T> should accept route name parameter
Sep 01, 2008 01:14 PM|LINK
I'm already using the RouteLink helper, but i want to switch to lambda expressions because the code is cleaner and refactoring is simpler.