protected void Page_Load(object sender, EventArgs e) { try { //if ( IsPostBack) // return; if (Request.QueryString["ctc"] != null) { HIDctg_Id.Value = Request.QueryString["ctc"]; } if (Request.QueryString["id"] != null) { hdnID.Value = Request.QueryString["id"].ToString(); Equipment.Entities.eqp_IEC600441ClassP _iec = _eqp_IEC600441ClassPService.FindByiec_Id (Convert.ToInt64(hdnID.Value)); _eqp_IEC600441ClassP = _iec; eqp_IEC600441ClassP = _iec; } else { hdnID.Value = "0"; BTNDelete.Visible = false; } } catch { } }
protected override void OnLoad(EventArgs e) { base.OnLoad(e); CreateStandardsCoreUC(); } public void CreateStandardsCoreUC() { if (ddl_CoresStandards.SelectedValue != "select") { Control uc = (Control)Page.LoadControl(getUserControl(ddl_CoresStandards.SelectedValue)); pnlUC.Controls.Add(uc); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)