protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { ddlGoodSemiGoodWhere_Load(null, null); ddlMOTypeWhere_Load(null, null); ddlShiftCodeWhere_Load(null, null); ddlCrewCodeWhere_Load(null, null); datStartDateWhere.Value = DateTime.Today.ToString("yyyy-MM-dd"); datEndDateWhere.Value = DateTime.Today.ToString("yyyy-MM-dd"); ddlFirstClassWhere_Load(null, null); ddlInputOututWhere_Load(null, null); ddlNewMassWhere_Load(null, null); ddlMaterialExportImportWhere_Load(null, null); ddlBOMVersionWhere_Load(null, null); ddlIQCItemTypeWhere_Load(null, null); ddlIQCLineItemTypeWhere_Load(null, null); ddlRoHSWhere_Load(null, null); ddlConcessionWhere_Load(null, null); ReportPageHelper.SetControlValue(this, this.Request.Params); } this.PanelWhereConditions.Visible = false; }
protected void Page_Load(object sender, EventArgs e) { if (!this.IsPostBack) { RadioButtonListBuilder builder1 = new RadioButtonListBuilder(new NewReportByTimeType(), this.rblByTimeTypeGroup, this.languageComponent1); RadioButtonListBuilder builder2 = new RadioButtonListBuilder(new NewReportCompareType(), this.rblCompareTypeGroup, this.languageComponent1); RadioButtonListBuilder builder3 = new RadioButtonListBuilder(new NewReportCompleteType(), this.rblCompleteTypeGroup, this.languageComponent1); RadioButtonListBuilder builder4 = new RadioButtonListBuilder(new NewReportExceptionOrDuty(), this.rblExceptionOrDuty, this.languageComponent1); builder1.Build(); builder2.Build(); builder3.Build(); builder4.Build(); SetByTime(); ClearEmptyPanels(); ReportPageHelper.SetControlValue(this, this.Request.Params); //this.chbCompareGroup.Attributes["onclick"] = "onCheckChange('" + this.chbCompareGroup.ClientID + "');"; } RadioButtonListBuilder.FormatListControlStyle(this.rblByTimeTypeGroup, 30); RadioButtonListBuilder.FormatListControlStyle(this.rblCompareTypeGroup, 40); RadioButtonListBuilder.FormatListControlStyle(this.rblCompleteTypeGroup, 30); RadioButtonListBuilder.FormatListControlStyle(this.rblExceptionOrDuty, 50); this.rblCompareTypeGroup.Enabled = this.chbCompareGroup.Checked; }
protected void Page_Load(object sender, EventArgs e) { RadioButtonListBuilder builder = new RadioButtonListBuilder(new NewReportQueryDataType(), this.rblQueryDataType, this.languageComponent1); if (!this.IsPostBack) { builder.Build(); ReportPageHelper.SetControlValue(this, this.Request.Params); } RadioButtonListBuilder.FormatListControlStyle(this.rblQueryDataType, 50); }
protected void Page_Load(object sender, EventArgs e) { if (!this.IsPostBack) { rblReportDisplayType.Items.Clear(); if (_DisplayList != null) { foreach (ListItem item in _DisplayList) { rblReportDisplayType.Items.Add(item); } rblReportDisplayType.SelectedIndex = 0; } ReportPageHelper.SetControlValue(this, this.Request.Params); } RadioButtonListBuilder.FormatListControlStyle(this.rblReportDisplayType, 50); }