How do you get the current area name in the view or controller?
Is there anything like ViewContext.RouteData.Values["controller"] for areas?
ViewContext.RouteData.Values["controller"]
From MVC2 onwards you can use ViewContext.RouteData.DataTokens["area"]
ViewContext.RouteData.DataTokens["area"]