How to update a drop-down list during an event of another drop-down list without updating the entire web page?

I am developing my first asp.net site, my requirement is to update DropDownListBin the SelectedIndexChangedevent DropDownListAI installed AutoPostBack="True"for DropDownListA. Now the problem is that the whole web page is being updated, for me there is no need, is there any other method that I can use to update only this control or just this panel, and not refresh the whole page?

+3
source share
2 answers

Put the dropdowns inside

 <asp:UpdatePanel ID="up1" runat="server">
                        <ContentTemplate>
// Dropdowns
</ContentTemplate> 
      </asp:UpdatePanel>

and turn on <asp:ScriptManager ID="sm" runat="server"></asp:ScriptManager>at the top

+2
source

1- UpdatePanel, .

UpdatePanel

2- jQuery AJAX JSON , , UpdatePanel

, google,

[EDIT]

+2

All Articles