Ajax in ASP.net


Ajax allows for only one section of the webpage to be reloaded during an event


Ajax extensions > Script manager >must be in content

update panel >content template ( must be in update panel)





<asp:Content ID=”Content2″ ContentPlaceHolderID=”ContentPlaceHolder1″ Runat=”Server”>

<h2>Donation Form</h2>
Please fill out the following form
<asp:ScriptManager ID=”ScriptManager1″ runat=”server”>
<asp:RadioButtonList ID=”RadioButtonList1″ runat=”server” AutoPostBack=”True”
<asp:UpdatePanel ID=”UpdatePanel1″ runat=”server”>
<asp:Panel ID=”Panel1″ runat=”server”>



[form elements here]






in design view, enable AutoPostBack for radio button list.