2
Answers

updatePanel stops the buttons in side it

Joma Rajab

Joma Rajab

8y
254
1
I have use update panel to update partial of the page not all. However, the button inside  update panel stops working and this button inserts data to database
 
please help
  1. <asp:ScriptManager ID="ScriptManager1" runat="server" />  
  2.      <asp:UpdatePanel ID="UpdatePanel1" runat="server">  
  3.  <ContentTemplate>  
  4. .  
  5. .  
  6. .       other lines of the code   
  7. .  
  8. .  
  9.   
  10. <asp:Button ID="btnUpload" runat="server" Text="Upload" onClick="Upload" ValidationGroup="Click"/>  
  11.   
  12. </ContentTemplate>  
  13. <Triggers>  
  14.     <asp:AsyncPostBackTrigger ControlID="btnIdea" EventName="Click" />  
  15.                </Triggers>  
  16.             </asp:UpdatePanel>  
 

Answers (2)