Topic: can somebody help me convert navbar 4.6 to 5
opabrommer free asked 3 years ago
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a runat="server" id="adminLink" visible="false"
href="~/Admin/AdminPage">Admin</a></li>
<li><a runat="server" href="~/">Home</a></li>
<li><a runat="server" href="~/About">About</a></li>
<li><a runat="server" href="~/Contact">Contact</a></li>
<li><a runat="server" href="~/Video">Video</a></li>
<li><a runat="server" href="~/ProductList">Products</a></li>
<li><a runat="server" href="~/ShoppingCart" ID="cartCount"> </a></li>
</ul>
<asp:LoginView runat="server" ViewStateMode="Disabled">
<AnonymousTemplate>
<ul class="nav navbar-nav navbar-right">
<li><a runat="server" href="~/Account/Register">Register</a></li>
<li><a runat="server" href="~/Account/Login">Log in</a></li>
</ul>
</AnonymousTemplate>
<LoggedInTemplate>
<ul class="nav navbar-nav navbar-right">
<li><a runat="server" href="~/Account/Manage" title="Manage your account">Hello, <%: Context.User.Identity.GetUserName() %> !</a></li>
<li>
<asp:LoginStatus runat="server" LogoutAction="Redirect" LogoutText="Log off" LogoutPageUrl="~/" OnLoggingOut="Unnamed_LoggingOut" />
</li>
</ul>
</LoggedInTemplate>
</asp:LoginView>
</div>
</div>
</div>
opabrommer free answered 3 years ago
when i upgrade to version 5.1 i have the message bootstrap is geen geldige scriptnaam. De naam moet eindigen op .js. or bootstrap is not a valid scriptname. The name should end in .js.
Grzegorz Bujański staff answered 3 years ago
Unfortunately, we do not have instructions on what exactly to change for everything to work in your project the same as in version 4. There were too many changes and we are not able to prepare such an instruction. But in Navbar itself, not that much has changed. What doesn't work for you after migrating to MDB5? The code you sent is not the full navbar code. This is only part of it.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 1.0.0
- Device: laptop
- Browser: google chrome
- OS: windows 10
- Provided sample code: No
- Provided link: No