Click here to Skip to main content
13,091,996 members (56,672 online)
Rate this:
 
Please Sign up or sign in to vote.
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

<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 6-Jan-13 20:54pm

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 7 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100