ASP.NET MVC Get Current Area Name in View or Controller

Posted by ydfeed on Stack Overflow See other posts from Stack Overflow or by ydfeed
Published on 2010-04-27T17:59:55Z Indexed on 2010/04/27 18:03 UTC
Read the original article Hit count: 675

Filed under:
|

How do you get the current area name in the view or controller?

Is there anything like ViewContext.RouteData.Values["controller"] for areas?

© Stack Overflow or respective owner

Related posts about asp.net-mvc-2

Related posts about area