ajax - ASP.NET update panel updating automatically even when conditional -



ajax - ASP.NET update panel updating automatically even when conditional -

i working on ajax update panels first time success. have <div> want update when button (that has postback disabled on it) clicked.

<asp:scriptmanager id="scriptmanager1" runat="server" enablepartialrendering="true"></asp:scriptmanager> <asp:updatepanel id="updatepanel1" updatemode="conditional" runat="server" childrenastriggers="false"> <contenttemplate> <div style="float: left; height: auto; width: 23%;"> <div style="font-size: 20px; padding-top: 11px; border-bottom: solid 1px #dddddd;"> logo </div> <br /> <div class="resultsinnerbox" style="padding-top: 15px; width: 85%; font-size: 12px;"> <asp:literal id="litlogo" runat="server"></asp:literal> <div style="margin-left: 4.5%; margin-right: 4.5%;"> <asp:literal id="litlogodetails" runat="server"></asp:literal> <span class="fileupload">upload</span> </div> </div> </div> </contenttemplate> </asp:updatepanel>

upon click of button following

litlogodetails.text = "hello" 'updatepanel1.update()

however updatepanel commented out or not button updates panel.

how so? when updatepanel1 conditional. also, how knowing update 'updatepanel1' when button pressed , updatepanel1.update() commented out.

i need understand how working before can continue.

thanks help.

asp.net ajax updatepanel conditional

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -