I am executing a page where Page contain multiple Tabs and each tab call ajax method to get it's own view.
My problem is when ajax request come on controller then OnActionExecuting method I am not able to get Root(Page) URL.
Root URL like http://www.myapp.com/Profile/MyProfile Ajax URL like http://www.myapp.com/Profile/ManageLocation
protected override void OnActionExecuting(ActionExecutingContext filterContext)
{
var url = new UrlHelper(filterContext.RequestContext);
string urlPath = url.Action();// Get current requested '/Action/Method'
//How to get Root Page URL
}