asp.net mvc 4 tabs

前端 未结 4 1079
难免孤独
难免孤独 2020-12-05 08:43

I\'m working on a project with Visual Studio 2010 ASP.Net MVC4 (engine view Razor) and need to make a tabs. I define this scrips and css:



        
4条回答
  •  我在风中等你
    2020-12-05 09:11

    If you work with ASP.net MVC4 then config _Layout.cshtml add this lines into Head html

    @Styles.Render("~/Content/css")    
    @Styles.Render("~/Content/themes/base/css")
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryui")
    @Scripts.Render("~/bundles/modernizr")
    

    and delete from body (html) this line

    @Scripts.Render("~/bundles/jquery")
    

    and execute the program and show the tabs

提交回复
热议问题