protected void Page_Load(object sender, EventArgs e) { try { iITCNDCheckQCHoldSetting = ServiceAgent.getInstance().GetMaintainObjectByName<IITCNDCheckQCHoldSetting>(WebConstant.ITCNDCheckQCHoldSettingObject); pmtMessage6 = this.GetLocalResourceObject(Pre + "_pmtMessage6").ToString(); pmtMessage7 = this.GetLocalResourceObject(Pre + "_pmtMessage7").ToString(); pmtMessage8 = this.GetLocalResourceObject(Pre + "_pmtMessage8").ToString(); pmtMessage9 = this.GetLocalResourceObject(Pre + "_pmtMessage9").ToString(); if (!this.IsPostBack) { System.Configuration.Configuration config = WebConfigurationManager.OpenWebConfiguration("~"); HttpRuntimeSection section = (HttpRuntimeSection)config.GetSection("system.web/httpRuntime"); double maxFileSize = Math.Round(section.MaxRequestLength / 1024.0, 1); this.hidFileMaxSize.Value = maxFileSize.ToString(); this.Title = this.GetLocalResourceObject(Pre + "_title").ToString(); userName = Request.QueryString["userName"]; userName = StringUtil.decode_URL(userName); this.HiddenUserName.Value = userName; initLabel(); } pmtMessage1 = this.GetLocalResourceObject(Pre + "_pmtMessage1").ToString(); this.hidMsg1.Value = pmtMessage1; } catch (FisException ex) { showErrorMessage(ex.mErrmsg); } catch (Exception ex) { showErrorMessage(ex.Message); } }
protected void Page_Load(object sender, EventArgs e) { try { iITCNDCheckQCHoldSetting = ServiceAgent.getInstance().GetMaintainObjectByName<IITCNDCheckQCHoldSetting>(WebConstant.ITCNDCheckQCHoldSettingObject); /* 2012-5-11 pmtMessage1 = this.GetLocalResourceObject(Pre + "_pmtMessage1").ToString(); pmtMessage2 = this.GetLocalResourceObject(Pre + "_pmtMessage2").ToString(); pmtMessage3 = this.GetLocalResourceObject(Pre + "_pmtMessage3").ToString(); pmtMessage4 = this.GetLocalResourceObject(Pre + "_pmtMessage4").ToString(); pmtMessage5 = this.GetLocalResourceObject(Pre + "_pmtMessage5").ToString(); pmtMessage6 = this.GetLocalResourceObject(Pre + "_pmtMessage6").ToString(); */ pmtMessageSelectIsHold = this.GetLocalResourceObject(Pre + "_pmtMessageSelectIsHold").ToString(); pmtMessageDelete = this.GetLocalResourceObject(Pre + "_pmtMessageDelete").ToString(); pmtMessageNeedCode = this.GetLocalResourceObject(Pre + "_pmtMessageNeedCode").ToString(); pmtMessageCodeOverLength = this.GetLocalResourceObject(Pre + "_pmtMessageCodeOverLength").ToString(); pmtMessageDescrOverLength = this.GetLocalResourceObject(Pre + "_pmtMessageDescrOverLength").ToString(); if (!this.IsPostBack) { userName = Master.userInfo.UserId; this.HiddenUserName.Value = userName; initLabel(); //bindTable(null, DEFAULT_ROWS); //2012-5-17 this.dListNull.Value = "true"; ShowList(); } } catch (FisException ex) { showErrorMessage(ex.mErrmsg); } catch (Exception ex) { showErrorMessage(ex.Message); } }