Drt

Drt

  • NA
  • 82
  • 29.4k

ASP.net Bootstrap dropDown button Onclick event not working

Aug 6 2018 10:56 PM
Designing Bootstrap using dropdown button [Code for BootstrapDropdown]
 
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<div class="dropdown">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">
Get Report<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="#">Get Report</a></li>
<li><a href="#">Get PDF</a></li>
<li><a href="#">Get Excel</a></li>
</ul>
</div>
 
code behind how to link to the Onclick event for the buttons and sub menus also [a href link] in c#
 
plz help me

Answers (3)