Joma Rajab

Joma Rajab

  • NA
  • 110
  • 51.3k

updatePanel stops the buttons in side it

Jul 22 2016 10:39 AM
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)