Asp.net Drop Down List Value Doesnt Change Within Jquery Dialog
I have a div , within which I have a button and an asp.net dropdownlist. I see that the dropdownlist value doesnt change. ie. If I select 30 from the dropdownlist, the selected val
Solution 1:
You have AutoPostBack set against the drop down list. Having that set means it's posting back and refreshing the control which causes the default value to be selected.
Solution 2:
<asp:button Id=" btnConfigureAlerts" runat="Server" OnClientClick="ViewModelPopup2()"></asp:button>
function ViewModelPopup2() {
$("#ViewModalPopupDiv2").dialog({
scrollable: true,
width: 800,
modal: true
});
};
Post a Comment for "Asp.net Drop Down List Value Doesnt Change Within Jquery Dialog"