Maryam Jamil

Maryam Jamil

  • NA
  • 7
  • 4.7k

bootstrap dropdown menu in asp.net c#

Mar 2 2015 12:09 PM

I m using bootstrap for toogle down menu bar

the code is


<div class="row">
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
Dropdown
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Action</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another action</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Something else here</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Separated link</a></li>
</ul>
</div>
</div>

but it is not working properly :(

I m facing the issue that whatever i m displaying in these fields

<li role="presentation"><a role="menuitem" tabindex="-1" href="#"></a></li>

it is not visible


Answers (4)