protected void btnHabilitaBusqueda_ServerClick(object sender, EventArgs e) { //Boton que habilita los parametros de busqueda AbstractHelp.EnabledControls(new object[] { this.DivBusqueda }); AbstractHelp.DisabledControls(new object[] { this.DivGridView, this.btnNuevo, this.btnMostrarTodos, this.btnHabilitaBusqueda }); this.primerIngeso = false; }
protected void btnBuscar_ServerClick(object sender, EventArgs e) { bool activo = chkBusqueda.Checked; AbstractHelp.CargarGridR(oBLLInstrumentoLegal, gvInstLegal, txtBusquedaNombre.Value, activo); AbstractHelp.EnabledControls(new object[] { this.DivGridView, this.btnNuevo, this.btnMostrarTodos, this.btnHabilitaBusqueda }); AbstractHelp.DisabledControls(new object[] { this.DivBusqueda }); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { LoadDDLTipoInstrumentoLegal(); if (this.Accion == "Insert") { lblTitulo.Text = "Nuevo Instrumento Legal"; } if (this.Accion == "Edit") { lblTitulo.Text = "Actualizar Instrumento Legal"; AbstractHelp.EnabledControls(new object[] { DivAlta }); LoadData(); } } msgAccept.MsgBoxAnswered += MessageAnswered; }