How do I generate a RouteLink to a route in a different area?
Posted
by Max Schmeling
on Stack Overflow
See other posts from Stack Overflow
or by Max Schmeling
Published on 2010-03-26T19:51:47Z
Indexed on
2010/03/26
20:03 UTC
Read the original article
Hit count: 136
asp.net-mvc-2
|asp.net-3.5
I have two different areas, and I have a route in one of those areas that is specific to that area, but I need to generate a link to that route using Html.RouteLink from another area (it's how you get over into the new area) but it won't work... It doesn't seem possible to use RouteLink to routes in a different area.
What is the best way around this? Should I just define a new route in the other area and name it differently?
© Stack Overflow or respective owner