Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8391147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:11:01+00:00 2026-06-09T19:11:01+00:00

I am trying to add an icon to my bootstrap code but the code

  • 0

I am trying to add an icon to my bootstrap code but the code I have added:

<li><a href="#"><i class="icon-user"></i>Create Client</a></li>

Works on Rails but not on ASP. The link is there without the icon. Is this correct for ASP?

My View as follows:

    <!DOCTYPE html>
    <html>
    <head>
        <title>@ViewData("Title")</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">
        <link href="@Url.Content("~/Content/bootstrap.css")" rel="stylesheet" type="text/css" />
        <style type="text/css">
          body {
            padding-top: 60px;
            padding-bottom: 40px;
          }
        </style>
        <link href="@Url.Content("~/Content/bootstrap-responsive.css")" rel="stylesheet" type="text/css" />
        <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    </head>

    <body>
      <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
          <div class="container">
            <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </a>
            <a class="brand" href="#">Courtenay's Laundry</a>
            <div class="nav-collapse">
                <ul class="nav nav-pills">
                  <li class="active"><a href="/Index">Home</a></li>

                <!-- Dropdown menu Service -->  
                <li class="dropdown" id="menu1">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#menu1">
                      Service
                      <b class="caret"></b>
                    </a>
                    <ul class="dropdown-menu">
                      <li><a href="#">Action</a></li>
                      <li><a href="#">Another action</a></li>
                      <li><a href="#">Something else here</a></li>
                      <li class="divider"></li>
                      <li><a href="#">Separated link</a></li>
                    </ul>
                  </li>

                    <!-- Dropdown menu Clients --> 
                    <li class="dropdown" id="menu2">
                        <a class="dropdown-toggle" data-toggle="dropdown" href="#menu2">
                          Customers
                          <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu">
                          <li><a href="#">Create Customer</a></li>
                          <li><a href="#">Modify Customer</a></li>
                          <li><a href="#">Delete Customer</a></li>
                          <li class="divider"></li>
                          <li><a href="#">View Loyalty</a></li>
                          <li><a href="#">Manually Change Loyalty</a></li>
                          <li class="divider"></li>
                          <li><a href="#">Notify Client</a></li>
                        </ul>
                      </li>

                    <!-- Dropdown menu Management --> 
                    <li class="dropdown" id="menu3">
                        <a class="dropdown-toggle" data-toggle="dropdown" href="#menu3">
                          Management
                          <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu">
                          <li><a href="#">Action</a></li>
                          <li><a href="#">Another action</a></li>
                          <li><a href="#">Something else here</a></li>
                          <li class="divider"></li>
                          <li><a href="#">Separated link</a></li>
                        </ul>
                      </li>

                  <li class="active"><a href="#">Reporting</a></li>
                </ul>
            </div>
          </div>
        </div>
      </div>


      <div class="container-fluid">
      <div class="row-fluid">
        <div class="span2">
            <div class="well sidebar-nav">

            <!--Sidebar content-->
            <ul class="nav nav-list">
            <li class="nav-header">Service Links</li>
            <li><a href="#"><i class="icon-book icon-white"></i>Book Job</a></li>
            <li><a href="#"><i class="icon-book"></i>Book Out Job</a></li>
            <li><a href="#"><i class="icon-random"></i>Station Transfer</a></li>
            <li class="nav-header">Client Quick Links</li>
            <li><a href="#"><i class="icon-user"></i>Create Client</a></li>
            <li><a href="#"><i class="icon-share"></i>Notifications</a></li>
            <li class="nav-header">Reporting</li>
            <li><a href="#"><i class="icon-file"></i>Reporting</a></li>
            <li class="divider"></li>
            <li><a href="#"><i class="icon-cog"></i>Settings</a></li>
            </ul>

            </div>
        </div>
        <div class="span10">
            @RenderBody()      
        </div>
      </div>

    </div>

        <script src="@Url.Content("~/Scripts/jquery.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/bootstrap-transition.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/bootstrap-alert.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/bootstrap-modal.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/bootstrap-dropdown.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/bootstrap-scrollspy.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/bootstrap-tab.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/bootstrap-tooltip.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/bootstrap-popover.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/bootstrap-button.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/bootstrap-collapse.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/bootstrap-carousel.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/bootstrap-typeahead.js")" type="text/javascript"></script>
    </body>
    </html>

I have:

bootstrap-dropdown.js
bootstrap.js
bootstrap.min.js

In my script folder

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T19:11:03+00:00Added an answer on June 9, 2026 at 7:11 pm

    Are you sure you have included the bootstrap stylesheets? You can check with your browsers console if any files couldn’t be loaded or such. Shouldn’t make any difference what server-side language you are using here. Otherwise – check the generated code and post it. I use ASP.Net MVC all the time with Bootstrap, and no issues there – just make sure that your paths are correct (I have a feeling you have a /bootstrap folder in your Contents folder, and you’re not referencing to it correctly)!

    Here’s a simple ASP.NET MVC3 ‘boilerplate’-ish project. So you can get started really easily. http://wearereasonablepeople.com/APSMVC3BootstrapBoilerplate.zip

    Please note: there’s no fancy buildscripts in here, it doesn’t even include the LESS files, but nonetheLESS it might help you to get started.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am trying to add small icon to VirtualTreeview in delphi2010 i have ImageList
Im new to asp.net mvc. I'm trying add new model class but it got
Trying to add a blank sample app for a rails tutorial to GitHub, but
I am trying to add a different icon each of my buttons. I have
I have been trying to add an icon to a doorhanger notification in my
I am trying to add minus icon at the end of sortable item, but
I'm trying to create a SIMBL plugin for Finder to add icon overlay over
I'm trying to add different icon overlays over the icons of various files (note:
I'm trying to add an event listener to each icon on the map when
I am trying add picture boxes dynamically. My code is as PictureBox picture =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.