asp.net - UpdatePanel in EditItemTemplate of Gridview causing full page refresh -


i tried search solutions, couldn't find any. everywhere talking gridview within updatepanel. in case have updatepanel within edititemtemplate of gridview , dropdownlist in edititemtemplate causing postback on selectchange event. want cell or @ row of gridview partially rendered, whole page flashes.

i have used update panel elsewhere on page, outside gridview, , working fine.

is updatepanel not supported within gridview templates?

thanks!

you need specify asyncpostbacktrigger inside <triggers> element updatepanel . tried same , working.

<asp:updatepanel id="upsetsession" runat="server">             <contenttemplate>                 <asp:dropdownlist id="ddlmylist" runat="server"                      onselectedindexchanged="ddlmylist_selectedindexchanged"                     autopostback="true">                     <asp:listitem>one</asp:listitem>                     <asp:listitem>two</asp:listitem>                     <asp:listitem>three</asp:listitem>                 </asp:dropdownlist>             </contenttemplate>             <triggers>                 <asp:asyncpostbacktrigger controlid="ddlmylist"                      eventname="selectedindexchanged" />             </triggers>         </asp:updatepanel> 

Comments

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -