protected void Page_Load(object sender, EventArgs e) { try { confirm = false; this.ResourceManager1.DirectMethodNamespace = "CompanyX"; if (!X.IsAjaxRequest) { COCASJOL.LOGIC.Configuracion.ConfiguracionDeSistemaLogic configLogic = new COCASJOL.LOGIC.Configuracion.ConfiguracionDeSistemaLogic(this.docConfiguracion); if (configLogic.VentanasCargarDatos == true) { this.SociosSt_Reload(null, null); } this.ImportarSociosBtn.Hidden = !configLogic.SociosImportacion; } string loggedUsr = Session["username"] as string; this.LoggedUserHdn.Text = loggedUsr; } catch (Exception ex) { log.Fatal("Error fatal al cargar pagina de socios.", ex); throw; } }
protected void Page_Load(object sender, EventArgs e) { try { confirm = false; this.ResourceManager1.DirectMethodNamespace = "CompanyX"; if (!X.IsAjaxRequest) { COCASJOL.LOGIC.Configuracion.ConfiguracionDeSistemaLogic configLogic = new COCASJOL.LOGIC.Configuracion.ConfiguracionDeSistemaLogic(this.docConfiguracion); if (configLogic.VentanasCargarDatos == true) { this.SociosSt_Reload(null, null); } this.ImportarSociosBtn.Hidden = !configLogic.SociosImportacion; } string loggedUsr = Session["username"] as string; this.LoggedUserHdn.Text = loggedUsr; } catch (Exception ex) { log.Fatal("Error fatal al cargar pagina de socios.", ex); throw; } }
protected void RolDS_Selecting(object sender, ObjectDataSourceSelectingEventArgs e) { try { if (!this.IsPostBack) { COCASJOL.LOGIC.Configuracion.ConfiguracionDeSistemaLogic configLogic = new COCASJOL.LOGIC.Configuracion.ConfiguracionDeSistemaLogic(this.docConfiguracion); if (configLogic.VentanasCargarDatos == true) e.Cancel = false; else e.Cancel = true; } } catch (Exception ex) { log.Fatal("Error fatal al cargar roles.", ex); throw; } }
protected void Page_Load(object sender, EventArgs e) { try { if (!X.IsAjaxRequest) { COCASJOL.LOGIC.Configuracion.ConfiguracionDeSistemaLogic configLogic = new COCASJOL.LOGIC.Configuracion.ConfiguracionDeSistemaLogic(this.docConfiguracion); if (configLogic.VentanasCargarDatos == true) { this.stLog_OnRefreshData(null, null); } } string loggedUsr = Session["username"] as string; this.LoggedUserHdn.Text = loggedUsr; } catch (Exception ex) { log.Fatal("Error fatal al cargar pagina de bitacora de aplicacion.", ex); throw; } }
protected void Page_Load(object sender, EventArgs e) { try { if (!X.IsAjaxRequest) { COCASJOL.LOGIC.Configuracion.ConfiguracionDeSistemaLogic configLogic = new COCASJOL.LOGIC.Configuracion.ConfiguracionDeSistemaLogic(this.docConfiguracion); if (configLogic.VentanasCargarDatos == true) { this.PrestamosSt_Reload(null, null); } } string loggedUsr = Session["username"] as string; this.LoggedUserHdn.Text = loggedUsr; } catch (Exception ex) { log.Fatal("Error fatal al cargar pagina de tipos de prestamo.", ex); throw; } }
protected void NotasDS_Selecting(object sender, ObjectDataSourceSelectingEventArgs e) { try { if (!this.IsPostBack) { COCASJOL.LOGIC.Configuracion.ConfiguracionDeSistemaLogic configLogic = new COCASJOL.LOGIC.Configuracion.ConfiguracionDeSistemaLogic(this.docConfiguracion); if (configLogic.VentanasCargarDatos == true) { e.Cancel = false; } else { e.Cancel = true; } } } catch (Exception ex) { log.Fatal("Error fatal al cargar notas de peso.", ex); throw; } }
protected void Page_Load(object sender, EventArgs e) { try { this.RM1.DirectMethodNamespace = "DirectX"; SociosSt_Reload(null, null); if (!X.IsAjaxRequest) { COCASJOL.LOGIC.Configuracion.ConfiguracionDeSistemaLogic configLogic = new COCASJOL.LOGIC.Configuracion.ConfiguracionDeSistemaLogic(this.docConfiguracion); if (configLogic.VentanasCargarDatos == true) { this.SolicitudesSt_Reload(null, null); } } string loggedUsr = Session["username"] as string; this.LoggedUserHdn.Text = loggedUsr; } catch (Exception ex) { log.Fatal("Error fatal al cargar pagina de prestamos aprobados.", ex); throw; } }