protected void Page_Load(object sender, EventArgs e)
        {
            this.formOptSvc = new FormOptionSettingSvc();

            pg_str = Request.QueryString["pg"] as string;
            pg_str = string.IsNullOrEmpty(pg_str) ? "1" : pg_str;

            query_id = Request.QueryString["id"] as string;

            //2016/10/26
            //test git

            if (string.IsNullOrEmpty(query_id))
            {
                //this.MultiView.SetActiveView(View_list);
                this.MultiView.ActiveViewIndex = 0;
            }
            else
            {
                //this.MultiView.SetActiveView(View_advanced);
                this.MultiView.ActiveViewIndex = 1;
            }

            if (!Page.IsPostBack)
            {
                this.init();
                if (this.MultiView.ActiveViewIndex == 1)
                {
                    this.AdvancedInit();
                }
            }
        }
Esempio n. 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            this.formOptionSettingSvc = new FormOptionSettingSvc();

            if (!IsPostBack)
            {
                this.initController();
            }
        }
Esempio n. 3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            this.empSvc  = new EmployeeSvc();
            this.formSvc = new FormOptionSettingSvc();

            if (!IsPostBack)
            {
                this.getSelectedEmpList();
                this.getFormList();
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            this.formOptionSettingSvc = new FormOptionSettingSvc();

            if (!Page.IsPostBack)
            {
                this.years  = this.getYearOptions();
                this.months = this.getMonthOptions();

                this.ddl_oilTransSubsidy_search_year.DataSource = years;
                this.ddl_oilTransSubsidy_search_year.DataBind();

                this.ddl_oilTransSubsidy_year.DataSource = years;
                this.ddl_oilTransSubsidy_year.DataBind();

                this.ddl_oilTransSubsidy_month.DataSource = months;
                this.ddl_oilTransSubsidy_month.DataBind();


                this.reload();
            }
        }
Esempio n. 5
0
 public FormSettingController() : base()
 {
     this.formOptionSvc = new FormOptionSettingSvc();
 }