Paul Rajs

Paul Rajs

  • NA
  • 641
  • 146.6k

Sweet Alert Pop up is not working in Vb.Net

May 21 2021 11:35 AM
Hi Developers,
Am working on a vb.net project. in that Sweet Alert Pop-Up is nopt working..
Calling method
glblGeneral.ErrorMessage(Me, "test", "Alert")
Method:
Public Sub ErrorMessage(ByVal Control As UI.Control, ByVal Message As String, Optional ByVal Title As String = "Alert", Optional ByVal callback As String = "")
Try
ScriptManager.RegisterStartupScript(Control, Control.GetType, "Script", "swal('" + Title + "','" + Message + "','error');", True)
Catch ex As Exception
Err_Handler("General", "ErrorMessage", ex.Message)
End Try
End Sub
If anyone know how to solve this kindly suggest me to done this.
Thanks & Regards,
Paul.S

Answers (1)