Exemplo n.º 1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            this.LoadData();
            pnlRight.Visible = false;
        }

        Stool.RegisterSimpleModal(PageType.AJAX, this);
    }
Exemplo n.º 2
0
    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);
    }
Exemplo n.º 3
0
    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);
    }
Exemplo n.º 4
0
 /// <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);
 }
Exemplo n.º 5
0
 /// <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);
 }