I am facing an issue with the interaction between bootstrap and asp.net radio buttons. Specifically, the 'AutoPostBack' command is not functioning as expected. Here is the code snippet:
Linked Bootsrap & JS Files:
<link href="css/mycss.css" rel="stylesheet"/>
<script src="js/jquery-2.1.4.js"></script>
<script src="js/bootstrap-datetimepicker.min.js"></script>
<link href="css/bootstrap-datetimepicker.min.css" rel="stylesheet"/>
<link href="css/bootstrap.css" rel="stylesheet" />
<link href="css/bootstrap-combined.min.css" rel="stylesheet" />
<script src="js/bootstrap.min.js"></script>
Radio Button:
<label class ="btn btn-default">
<asp:RadioButton ID="rdbAllSites" runat="server" GroupName="SiteOfManu" Checked="false" Text="All Sites" AutoPostBack="true" OnCheckedChanged="rdbAllSites_CheckedChanged" />
</label>
</div>
In the above code, I have specified AutoPostBack as true to trigger a post back to the server upon selection. However, this functionality is not working and I'm unsure of the reason why. Interestingly, without applying any bootstrap styles to the radio buttons, they do execute a postback.
Is there something crucial that I might be overlooking?
Your assistance in resolving this matter would be highly valued.