Exemple #1
0
 public static void ShowRedirect(Control control, EnumAlert enumAlert, string message, string url)
 {
     ScriptManager.RegisterStartupScript(control, control.GetType(), ",toastr", "AlertMessageRedirect('" + enumAlert.ToString() + "', '" + message + "', '" + url + "');", true);
 }
Exemple #2
0
 public static void Show(Control control, EnumAlert enumAlert, string title, string message)
 {
     ScriptManager.RegisterStartupScript(control, control.GetType(), ",toastr", "AlertMessage('" + enumAlert.ToString() + "', '" + title + "', '" + message + "');", true);
 }