Example #1
0
 protected virtual void Alert <T>(T caller, string message, string postScript = null, bool executeBeforeAlert = false) where T : Control
 {
     if (MasterLoader != null)
     {
         MasterLoader.Alert(caller, message, postScript, executeBeforeAlert); return;
     }
     _Page().Alert <T>(caller, message, postScript, executeBeforeAlert);
 }
Example #2
0
 public virtual void Alert(string message, string postScript = null, bool executeBeforeAlert = false)
 {
     if (MasterLoader != null)
     {
         MasterLoader.Alert(message, postScript, executeBeforeAlert); return;
     }
     _Page().Alert(this, message, postScript, executeBeforeAlert);
 }