Joma Rajab

Joma Rajab

  • NA
  • 110
  • 51.9k

how to click on the insert button without updating the page

Jul 21 2016 7:34 AM
I am trying to use UpdatePanel for preventing the whole page from being updating with Triggers but for connecting to server side with database is not working I guess I have to use ajax but I do not know to use it 
 
this the code
 
please help  
  1.   <asp:ScriptManager ID="ScriptManager1" runat="server" />  
  2.         <asp:UpdatePanel ID="commentup" runat="server">  
  3.          <ContentTemplate>  
  4.   
  5.   
  6.   
  7.  </ContentTemplate>  
  8. <Triggers>  
  9.        <asp:AsyncPostBackTrigger ControlID="btnIdea" EventName="Click" />  
  10.               </Triggers>  
  11.                           </asp:UpdatePanel>  
 

Answers (1)