Pratik Shirse

Pratik Shirse

  • 1.2k
  • 581
  • 65.3k

how to show bootstrap/alertifyjs alert server side confirmat

Mar 23 2017 12:15 PM
Dear Team,
 
how to show bootstrap / alertifyjs alert message or like our (asp snippet notification) in asp.net c# server side confirmation
 
button code
  1. Cls_Scheme1 obj_Scheme1 = new Cls_Scheme1();  
  2. obj_scheme1.Parameter1=Control1.text;  
  3. obj_scheme1.Parameter2=Control1.text;  
  4. obj_scheme1.QueryAction = "Insert";  
  5. int i;  
  6. i = obj_scheme1.SP_InsertSchemeFirst();  
  7. if (i > 0) // here is to chekc condition  
  8. {  
  9. Response.Write("<script language='javascript'>alert('Record Saved Successfully')</script>");  
  10. }  
  11. else  
  12. {  
  13. Response.Write("<script language='javascript'>alert('Record Not Saved Successfully')</script>");  
  14. }  
Thank you..

Answers (1)