Click here to Skip to main content
15,910,277 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
i am using updatepanel in gridview and i footer row i kept one button.when click on button updatepanel is not woking i,e entire page is postbacking.how can i resolve this issues please anyone tell me.here is my code

XML
<asp:UpdatePanel ID="UpdateDetails" runat="server" ChildrenAsTriggers="true"
                                UpdateMode="Conditional">
                                <ContentTemplate>
  <asp:GridView ID="GridDetails" runat="server" AutoGenerateColumns="false" ShowFooter="true"
         Width="100%"
         >
     <Columns>
       <asp:TemplateField HeaderText="ReAssignTo" HeaderStyle-HorizontalAlign="Left">
        <ItemTemplate>
        <asp:DropDownList ID="ddl" runat="server"></asp:DropDownList>
        </ItemTemplate>
        <FooterTemplate>
         <asp:Button ID="btnupdate" runat="server" Text="Update" OnClick="btnupdate_Click" OnClientClick="javascript:return validateCombobox();" CausesValidation="false"/>
        </FooterTemplate>
       </asp:TemplateField>
       </Columns>
  </asp:GridView>
  </ContentTemplate>
  </asp:UpdatePanel>





thanks
Regards
pradeep
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900