Ejemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (IsPostBack)
            {
                return;
            }
            //string img = obtenerFotoParticipante(Session["id_Usuario"].ToString());
            //imgParticipante.ImageUrl = datoServicio.CadenaConexionRepositorio + img;

            pa_ObtenerDatosParticipantePorIDParticipante_Result datosUsuario = participanteService.obtenerDatosParticipantePorIDParticipante(new obtenerDatosParticipantePorIDParticipanteParams {
                id_Participante = int.Parse(Session["id_Participante"].ToString())
            });

            lblCorreo.Text           = datosUsuario.CorreoPersona;
            lblNombre.Text           = datosUsuario.NombrePersona + "<br/>" + datosUsuario.ApellidosPersona;
            lblOrganizacion.Text     = datosUsuario.OrganizacionPersona;
            imgParticipante.ImageUrl = clGetRepositorio.Read(datosUsuario.FotoPersona);
        }
Ejemplo n.º 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session == null || Session.Count == 0)
            {
                Response.Redirect("../../Login.aspx");
            }
            ScriptManager.RegisterStartupScript(
                UpdatePanelDatosPersonales,
                this.GetType(),
                "MyAction",
                "callAlert();",
                true);
            if (IsPostBack)
            {
                return;
            }
            CargarIdioma();
            txtDocumento.Attributes.Add("onkeypress", "return OnlyNumber(event)");

            obtenerDatosParticipantePorIDParticipanteParams enti = new obtenerDatosParticipantePorIDParticipanteParams()
            {
                id_Participante = int.Parse(Session["id_Participante"].ToString())
            };
            pa_ObtenerDatosParticipantePorIDParticipante_Result datosUsuario = participanteService.obtenerDatosParticipantePorIDParticipante(enti);

            lblCorreo.Text       = datosUsuario.CorreoPersona;
            lblNombre.Text       = datosUsuario.NombrePersona + "<br/>" + datosUsuario.ApellidosPersona;
            lblOrganizacion.Text = datosUsuario.OrganizacionPersona;
            txtNombre.Text       = datosUsuario.NombrePersona + " " + datosUsuario.ApellidosPersona;

            txtCorreo.Text           = datosUsuario.CorreoPersona;
            imgParticipante.ImageUrl = clGetRepositorio.Read(datosUsuario.FotoPersona);


            CargarDatosPersonales();
            CargarDatosContacto();
            CargarCondicionesEspeciales();
            CargarAcompanantes();
            CargarAgendaActividad();
            CargarInformacionAdicional();
            CargarHotelesRecomendados();
        }