protected void Page_Load(object sender, EventArgs e) { try { presentador = new ucCargosAdicionalesCierrePSLPRE(this); if (!Page.IsPostBack) { Presentador.Inicializar(); } } catch (Exception ex) { MostrarMensaje("Inconsistencias al presentar la información", ETipoMensajeIU.ERROR, NombreClase + ".Page_Load: " + ex.Message); } }
protected void Page_Load(object sender, EventArgs e) { try { presentador = new ucLineaContratoFSLPRE(this); if (!Page.IsPostBack) { Presentador.Inicializar(); RegistrarScript("BuscadorLineaContrato", "function " + ClientID + "_Buscar(guid, xml){ var width = ObtenerAnchoBuscador(xml); $.BuscadorWeb({ xml:xml,guid:guid,btnSender:$(\"#" + this.btnResult.ClientID + "\"),features:{dialogWidth:width,dialogHeight:'280px'}});}"); } } catch (Exception ex) { MostrarMensaje("Inconsistencias al presentar la información", ETipoMensajeIU.ERROR, NombreClase + ".Page_Load: " + ex.Message); } }