protected void Page_Load(object sender, EventArgs e) { ObjUsuario = Utilidades.ValidarSesion(HttpContext.Current.User.Identity as FormsIdentity, this); phAlerta.Visible = false; idPerfil = objUtilidades.descifrarCadena(Request.QueryString["id"]); if (!IsPostBack) { Mgr_Gobierno.Get_EPS(ddlEps); Mgr_Gobierno.Get_AFP(ddlFondo); CargarUsuario(); } }
private void CargarListas() { if (!BoolEmpSuc.Item1) { Mgr_Sucursal.Lista_Sucursal(ddlSucursal, ObjUsuario.Id_empresa); } if (!BoolEmpSuc.Item2) { IdSucursal = ObjUsuario.Id_sucursal; Mgr_Trabajador.Lista_Trabajadores_Sucursal(ddlTrabajador, IdSucursal); } Mgr_Empresa.Lista_Empresa(ddlEmpresa); Mgr_Gobierno.Get_EPS(ddlEps); Mgr_Gobierno.Get_AFP(ddlFondo); }