Click here to Skip to main content
15,915,093 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
hi guyz,
why does my gridview inside the updatepanel does not update its record automatically when i click the button without postback, please help,,, here's my code, thnx in advance

XML
<div>
       <br />
       <asp:ScriptManager ID="ScriptManager1" runat="server">
       </asp:ScriptManager>
       <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <fieldset>
       <asp:GridView ID="GridView1" runat="server">
       </asp:GridView>
       </fieldset>
       </ContentTemplate>
         </asp:UpdatePanel>

   </div>
Posted
Comments
thatraja 9-Aug-11 0:03am    
Include the code in your question

try call GridView1.DataBind() in your button event
 
Share this answer
 
your button is out from update panel
 
Share this answer
 
Put your button in a update panel separate from this one :)
 
Share this answer
 

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