/// <summary> /// 是由jQuery plugin SimpleModal來產生非回應視窗(http://www.ericmmartin.com/projects/simplemodal/) /// </summary> /// <param name="pageType"></param> /// <param name="page"></param> /// <param name="isParentWindowAjax">是否父視窗有套用Ajax</param> public static void RegisterScriptOnSimpleModal(PageType pageType, Page page, bool isParentWindowAjax) { Stool.RegisterScriptOnSimpleModal(pageType, page, "pageBind", true, isParentWindowAjax); }
/// <summary> /// 是由jQuery plugin SimpleModal來產生非回應視窗,註冊會產生PostBack的javascript,子視窗關閉 /// (http://www.ericmmartin.com/projects/simplemodal/) /// </summary> /// <param name="pageType"></param> /// <param name="page"></param> /// <param name="fieldValue">穩藏欄位的值</param> public static void RegisterScriptOnSimpleModal(PageType pageType, Page page, string fieldValue) { Stool.RegisterScriptOnSimpleModal(pageType, page, fieldValue, true, false); }
/// <summary> /// 是由jQuery plugin SimpleModal來產生非回應視窗,註冊會產生PostBack的javascript, /// 穩藏欄位的值為pageBind,子視窗為關閉(http://www.ericmmartin.com/projects/simplemodal/) /// </summary> /// <param name="pageType"></param> /// <param name="page"></param> public static void RegisterScriptOnSimpleModal(PageType pageType, Page page) { Stool.RegisterScriptOnSimpleModal(pageType, page, "pageBind"); }