ClientScript.RegisterClientScriptBlock(this.GetType(), "alert", "swal('Error!', 'You clicked Error button!', 'error')", true);Copy