4
Answers

bootstrap dropdown menu in asp.net c#

Maryam Jamil

Maryam Jamil

9y
1.9k
1

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)