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(); } } }
protected void Page_Load(object sender, EventArgs e) { this.formOptionSettingSvc = new FormOptionSettingSvc(); if (!IsPostBack) { this.initController(); } }
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(); } }
public FormSettingController() : base() { this.formOptionSvc = new FormOptionSettingSvc(); }