protected void Page_Load(object sender, EventArgs e) { try { iModelBOM = (IBOMNodeData)ServiceAgent.getInstance().GetMaintainObjectByName<IBOMNodeData>(WebConstant.IBOMNodeData); if (!this.IsPostBack) { this.Title = this.GetLocalResourceObject(Pre + "_title").ToString(); currentPartNo = Request.QueryString["currentPartNo"]; currentPartNo = StringUtil.decode_URL(currentPartNo); showParentFlag = Request.QueryString["flag"]; //macRangeCode = "001"; initLabel(); //MACInfoDef info = iModelBOM.GetMACInfo(macRangeCode); //ShowInfo(info); bindTable(null, DEFAULT_ROWS); setColumnWidth(); ShowTableList(showParentFlag); } } catch (FisException ex) { showErrorMessage(ex.mErrmsg); } catch (Exception ex) { showErrorMessage(ex.Message); } }
protected void Page_Load(object sender, EventArgs e) { iModelBOM = (IBOMNodeData)ServiceAgent.getInstance().GetMaintainObjectByName<IBOMNodeData>(WebConstant.IBOMNodeData); if (!Page.IsPostBack) { pmtMessage1 = this.GetLocalResourceObject(Pre + "_pmtMessage1").ToString(); pmtMessage2 = this.GetLocalResourceObject(Pre + "_pmtMessage2").ToString(); pmtMessage3 = this.GetLocalResourceObject(Pre + "_pmtMessage3").ToString(); OldPartNo = Request.QueryString["OldPartNo"]; OldPartNo = StringUtil.decode_URL(OldPartNo); this.dOldPartNo.Value = OldPartNo; initLabel(); userName = Request.QueryString["userName"]; //UserInfo.UserId; userName = StringUtil.decode_URL(userName); this.HiddenUserName.Value = userName; } }
protected void Page_Load(object sender, EventArgs e) { try { 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(); pmtMessage7 = this.GetLocalResourceObject(Pre + "_pmtMessage7").ToString(); pmtMessage8 = this.GetLocalResourceObject(Pre + "_pmtMessage8").ToString(); pmtMessage9 = this.GetLocalResourceObject(Pre + "_pmtMessage9").ToString(); pmtMessage10 = this.GetLocalResourceObject(Pre + "_pmtMessage10").ToString(); pmtMessage11 = this.GetLocalResourceObject(Pre + "_pmtMessage11").ToString(); pmtMessage12 = this.GetLocalResourceObject(Pre + "_pmtMessage12").ToString(); pmtMessage13 = this.GetLocalResourceObject(Pre + "_pmtMessage13").ToString(); pmtMessage14 = this.GetLocalResourceObject(Pre + "_pmtMessage14").ToString(); pmtMessage15 = this.GetLocalResourceObject(Pre + "_pmtMessage15").ToString(); InitClientFunc(); if (!this.IsPostBack) { userName = Master.userInfo.UserId; initLabel(); bindTable(null, DEFAULT_ROWS); setColumnWidth(); idIndex = 0; SaveTreeIdIndex(); //initTreeView(); GetPartTypeList(); } //this.dTree.Attributes.Add("onclick", "OnTreeNodeChange"); idIndex = Int32.Parse(this.dTreeIdIndexMax.Value); iModelBOM = (IBOMNodeData)ServiceAgent.getInstance().GetMaintainObjectByName<IBOMNodeData>(WebConstant.IBOMNodeData); } catch (FisException ex) { showErrorMessage(ex.mErrmsg); } catch (Exception ex) { showErrorMessage(ex.Message); } }