protected void Page_Load(object sender, EventArgs e) { GRUPOTDA_BL = new SCE_GRUPOTDA_BL((pe.oechsle.Entity.Usuario)Session["DatosCnSistema"]); GUIA_BL = new SCE_GUIA_BL((pe.oechsle.Entity.Usuario)Session["DatosCnSistema"]); btnGuardar.OnClientClick = string.Format("return confirmacion('{0}');", Resources.Mensajes.msgConfirmación); txtNomProdBus.Attributes.Add("onkeypress", String.Format("javascript:return SoloEnterosLetrasYEspacios(event)")); txtFecIniB.Attributes.Add("readonly", "readonly"); txtFecFinB.Attributes.Add("readonly", "readonly"); if (!Page.IsPostBack) { Session["Formulario"] = "CartConfExepciones.aspx"; LoadData(); } }
protected void Page_Load(object sender, EventArgs e) { GRUPOTDA_BL = new SCE_GRUPOTDA_BL((pe.oechsle.Entity.Usuario)Session["DatosCnSistema"]); TIENDA_BL = new SCE_TIENDA_BL((pe.oechsle.Entity.Usuario)Session["DatosCnSistema"]); txtDescripcion.Attributes.Add("onKeyPress", "doClick('" + btnGuardarGrupo.ClientID + "',event)"); btnAñadirTienda.OnClientClick = "return IsSelected();"; btnGuardarGrupo.OnClientClick = "return IsValid();"; if (!Page.IsPostBack) { Session["Formulario"] = "ParGrupoTiendas.aspx"; hidId.Value = ""; Session["dtTiendas"] = CrearDataTable(); LoadData(); } }