I have a ASP.NET chart inside a Bootstrap modal.
Everything was working fine until I added a dropdown list inside, every time I select a new item in dropdown list the selected item changed event fires, and Boostrap modal closes, event if there is no code inside event.
Here is the modal bootstrap html:
<div class="modal fade" id="modalCantidadReservasMensuales" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<h4 class="modal-title" id="myModalLabel">
Cantidad reservas mensuaCantidad reservas mensuales
</h4>
</div>
<div class="modal-body">
<asp:DropDownList ID="ddlAñoCantidadReservasMensuales" runat="server" OnSelectedIndexChanged="ddlAñoCantidadReservasMensuales_SelectedIndexChanged"
AutoPostBack="True">
</asp:DropDownList>
<asp:Chart ID="Chart2" runat="server" Width="441px">
<Series>
<asp:Series Name="test1">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1">
</asp:ChartArea>
</ChartAreas>
</asp:Chart>
</div>
</div>
</div>
</div>