Exemple #1
0
 /// <summary>弹出页面提示并关闭当前页面</summary>
 /// <param name="msg"></param>
 public static void AlertAndClose(String msg)
 {
     Js.Alert(msg).Close().End();
 }
Exemple #2
0
 /// <summary>弹出页面提示并重定向到另外的页面</summary>
 /// <param name="msg"></param>
 /// <param name="url"></param>
 public static void AlertAndRedirect(String msg, String url)
 {
     Js.Alert(msg).Redirect(url).End();
 }
Exemple #3
0
 /// <summary>弹出页面提示,并刷新该页面</summary>
 /// <param name="msg"></param>
 public static void AlertAndRefresh(String msg)
 {
     Js.Alert(msg).Refresh().End();
 }
Exemple #4
0
 /// <summary>弹出页面提示并停止输出后退一步!</summary>
 /// <param name="msg"></param>
 public static void AlertAndEnd(String msg)
 {
     Js.Alert(msg).End();
 }
Exemple #5
0
 /// <summary>弹出页面提示</summary>
 /// <param name="msg"></param>
 public static void Alert(String msg)
 {
     Js.Alert(msg);
 }
Exemple #6
0
 /// <summary>输出脚本</summary>
 /// <param name="script"></param>
 public static void WriteScript(String script)
 {
     Js.WriteScript(script, true);
 }