c# - BootStrap not formatting view in MVC 4 -


i have mvc 5 application created bootstrap. had create mvc 4 application , copied _layout.cshtml file on , made modifications needed. i, further, added bootstrap project. however, menu bar not showing up. pic:

enter image description here

this kind of expecting. (this pic of app copied code from):

enter image description here

here _layout file:

<!doctype html> <html> <head>     <meta charset="utf-8" />     <meta name="viewport" content="width=device-width" />     <title>@viewbag.title</title>     @styles.render("~/content/css")     @scripts.render("~/bundles/modernizr") </head> <body>     <div id="wrapper">         <div class="navbar navbar-inverse navbar-fixed-top">             <div class="container">                 <div class="navbar-header">                     @*<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">                         <span class="icon-bar"></span>                         <span class="icon-bar"></span>                         <span class="icon-bar"></span>                     </button>*@                 </div>                 <div class="navbar-collapse collapse">                     <ul class="nav navbar-nav">                          <li>@html.actionlink("interactive courses", "index", "pteinteractivecourse")</li>                         <li>@html.actionlink("tracking classes", "index", "ptetrackingclass")</li>                      </ul>                 </div>             </div>         </div>         <div class="container body-content">             @renderbody()             <hr />             <footer>                 <p>&copy; @datetime.now.year.tostring() securities training corporation. rights reserved.</p>             </footer>         </div>     </div>       @scripts.render("~/bundles/jquery")     @scripts.render("~/bundles/bootstrap")     @rendersection("scripts", required: false) </body> </html> 


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -