1,105,214 Community Members

ASP.NET MVC 4 and Twitter Bootstrap

Member Avatar
anupamduttabd
Newbie Poster
7 posts since Dec 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

How to use twitter bootstrap in an asp.net mvc4 application. please provide proper guideline step by step.

Member Avatar
ggamble
Junior Poster
151 posts since Mar 2006
Reputation Points: 1 [?]
Q&As Helped to Solve: 17 [?]
Skill Endorsements: 4 [?]
 
0
 

There are no guildlines per say. Its a framework, not a template. With that said, you would grab one of the example pages, and copy the source into your site master or master template.

Basic HTML template

When creating the menu, I'd create a custom user control (ascx) file with the following starter code:

    <ul class="nav">
            <li><a href="<%# Url.Content("~/home") %>">Home</a> </li>
            <li><a href="<%# Url.Content("~/contact") %>">Contact</a> </li>
    </ul>

When using Bootstrap, cutomize the colors and plugins here and save a lot of time:

Customize and download

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article