예제 #1
0
 /// <summary>弹出页面提示并关闭当前页面</summary>
 /// <param name="msg"></param>
 public static void AlertAndClose(String msg)
 {
     Js.Alert(msg).Close().End();
 }
예제 #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();
 }
예제 #3
0
 /// <summary>弹出页面提示,并刷新该页面</summary>
 /// <param name="msg"></param>
 public static void AlertAndRefresh(String msg)
 {
     Js.Alert(msg).Refresh().End();
 }
예제 #4
0
 /// <summary>弹出页面提示并停止输出后退一步!</summary>
 /// <param name="msg"></param>
 public static void AlertAndEnd(String msg)
 {
     Js.Alert(msg).End();
 }
예제 #5
0
 /// <summary>弹出页面提示</summary>
 /// <param name="msg"></param>
 public static void Alert(String msg)
 {
     Js.Alert(msg);
 }
예제 #6
0
 /// <summary>输出脚本</summary>
 /// <param name="script"></param>
 public static void WriteScript(String script)
 {
     Js.WriteScript(script, true);
 }