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 }); }