Wednesday, June 12, 2013

How to solve problem: Bootstrap not working with jQuery UI datepicker?

Need to make sure the references for javascript and css in following order:

    
    
    
    
    
    

How to get current Action and Controller name in ASP.NET MVC?


From ViewContext
        string action = ViewContext.RouteData.Values["action"].ToString();
        string controller = ViewContext.RouteData.Values["controller"].ToString();