Home > DeveloperSection > Forums > Ajax UpdatePanel not firing?
Ankita Pandey
Ankita Pandey

Total Post:183

Posted on    August-21-2014 1:03 AM

 ASP.Net ASP.Net 

 1 Reply(s)
 795  View(s)
Rate this:

I am not understanding why this doesn't fire. It will not even call the event. Any thoughts? Really what I want to do, is prevent a full post-back. The page is large and each time it does a post back it jumps to the top.

<asp:UpdatePanel runat="server" id="UpdatePanel" updatemode="Conditional">



        <asp:Label runat="server" ID="lblSnippet" AssociatedControlID="cmbSnippet">

            From snippet:


        <asp:DropDownList runat="server" ID="cmbSnippet" CssClass="dropdown" AutoPostBack="true">





                Read Part



                Read Feed






        <asp:Label runat="server" ID="lblCode" AssociatedControlID="txtCode">

            From code:


        <asp:TextBox runat="server" ID="txtCode" TextMode="MultiLine" CssClass="editor" MaxLength="100" Height="200" Wrap="false" />




         <asp:Asyncpostbacktrigger controlid="cmbSnippet" eventname="SelectedIndexChanged" />



Sumit Kesarwani

Total Post:378

Posted on    August-21-2014 1:05 AM

Hi Ankita, 

<asp:DropDownList runat="server" ID="cmbSnippet" CssClass="dropdown" AutoPostBack="true" OnSelectedIndexChanged="cmbSnippet_SelectedIndexChanged">

Don't want to miss updates? Please click the below button!

Follow MindStick