protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { this.LoadData(); pnlRight.Visible = false; } Stool.RegisterSimpleModal(PageType.AJAX, this); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { this.LoadData(); } string url = this.ResolveUrl("~/DefinedForm/FormSetting.aspx"); Stool.RegisterSimpleModal(PageType.AJAX, this, hlAdd.Attributes, url); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { this.LoadData(); } string url = this.ResolveUrl("~/Questionnaire/QuesSetting.aspx"); Stool.RegisterSimpleModal(PageType.PostBack, this, hlAdd.Attributes, url); }
/// <summary> /// 註冊jQuery plugin SimpleModal /// </summary> /// <param name="pageType"></param> /// <param name="page"></param> /// <param name="attributes"></param> /// <param name="url"></param> public static void RegisterSimpleModal(PageType pageType, Page page, AttributeCollection attributes, string url) { Stool.RegisterSimpleModal(pageType, page, attributes, url, false); }
/// <summary> /// 註冊jQuery plugin SimpleModal,不指定網址,由GetSimpleModalInitFunction各別指定網址 /// </summary> /// <param name="pageType"></param> /// <param name="page"></param> public static void RegisterSimpleModal(PageType pageType, Page page) { Stool.RegisterSimpleModal(pageType, page, null, string.Empty, false); }