Exemple #1
0
        protected void limpiar_experiencia()
        {
            txtActiv.Text = string.Empty;
            //txtDuracion.Text = string.Empty;

            //dlRango.SelectedIndex = 0;

            txtCertif.Text = string.Empty;

            dlDepAct.DataSource = Ubigeo.listar_dept();
            dlDepAct.DataBind();

            dlDepAct_SelectedIndexChanged(null, null);
            dlProvAct_SelectedIndexChanged(null, null);

            dlActiv.DataSource = Actividad.listar_Actividad();
            dlActiv.DataBind();

            dlActiv.Enabled      = true;
            chbOtraActiv.Checked = false;
            txtActiv.Enabled     = false;

            dlOrg.DataSource = OrgAtendida.listar_OrgAtendida();
            dlOrg.DataBind();

            dlOrg.Enabled      = true;
            chbOtraOrg.Checked = false;
            txtOrg.Enabled     = false;

            txtActiv.Text  = string.Empty;
            txtOrg.Text    = string.Empty;
            txtRefer.Text  = string.Empty;
            txtRecon.Text  = string.Empty;
            txtInicio.Text = string.Empty;
            txtFin.Text    = string.Empty;

            rbCertNo.Checked  = true;
            rbCertSi.Checked  = false;
            txtCertif.Enabled = false;
            txtCertif.Text    = "No cuenta con uno";

            chbTodosDist.Checked = false;
            dlDistAct.Enabled    = true;
        }
Exemple #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                //------------------------------------

                dlDep.DataSource = Ubigeo.listar_dept();
                dlDep.DataBind();



                dlDep_SelectedIndexChanged(null, null);

                dlProv_SelectedIndexChanged(null, null);



                //------------------------------------

                dlDepAct.DataSource = Ubigeo.listar_dept();
                dlDepAct.DataBind();


                dlDepAct_SelectedIndexChanged(null, null);

                dlProvAct_SelectedIndexChanged(null, null);


                txtUbigeo.Text    = string.Empty;
                txtLugarActv.Text = string.Empty;
                txtDNI.Text       = string.Empty;
                txtActividad.Text = string.Empty;


                dlActividad.DataSource = Actividad.listar_Actividad();
                dlActividad.DataBind();

                dlOrganizacion.DataSource = OrgAtendida.listar_OrgAtendida();
                dlOrganizacion.DataBind();

                rvReporteTalento.LocalReport.ReportPath = "Reportes/ReporteTalento.rdlc";

                rvReportExp.LocalReport.ReportPath = "Reportes/ReportExp.rdlc";

                rvGrafico.LocalReport.ReportPath = "Reportes/Graficos.rdlc";

                rvTalentoporActiv.LocalReport.ReportPath = "Reportes/TalentoporActiv.rdlc";

                rvTalentoporOrg.LocalReport.ReportPath = "Reportes/TalentoporOrg.rdlc";

                rvActivporOrg.LocalReport.ReportPath = "Reportes/ActivporOrg.rdlc";

                rvActivporAnio.LocalReport.ReportPath = "Reportes/ActivporAnio.rdlc";

                rvOrgporAnio.LocalReport.ReportPath = "Reportes/OrgporAnio.rdlc";

                rvDeptporAnio.LocalReport.ReportPath = "Reportes/DeptporAnio.rdlc";

                refrescarInformes();

                //Oferentes.WEB.dsDirectorioTableAdapters.sp_Talento_search_ubigeoTableAdapter da = new Oferentes.WEB.dsDirectorioTableAdapters.sp_Talento_search_ubigeoTableAdapter();

                //DataTable dt = new DataTable();

                //da.Fill("tablita",dt);

                //txtPruebaDNI.Text = dt.Rows[0][1].ToString();
            }
        }
Exemple #3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                //------------------------------------

                dlDep.DataSource = Ubigeo.listar_dept();
                dlDep.DataBind();


                dlDep_SelectedIndexChanged(null, null);

                dlProv_SelectedIndexChanged(null, null);

                //------------------------------------

                dlEstCivil.DataSource = Estado_Civil.listar_estcivil();
                dlEstCivil.DataBind();

                dlResid.DataSource = Residencia.listar_residencia();
                dlResid.DataBind();


                //------------------------------------

                dlDepRes.DataSource = Ubigeo.listar_dept();
                dlDepRes.DataBind();


                dlDepRes_SelectedIndexChanged(null, null);

                dlProvRes_SelectedIndexChanged(null, null);

                //------------------------------------

                dlNivel.DataSource = Estudio.listar_nivel();
                dlNivel.DataBind();


                dlNivel_SelectedIndexChanged(null, null);
                dlGrado_SelectedIndexChanged(null, null);

                //------------------------------------

                dlIdioma.DataSource = Idioma.listar_idioma();
                dlIdioma.DataBind();

                //------------------------------------

                dlDepAct.DataSource = Ubigeo.listar_dept();
                dlDepAct.DataBind();


                dlDepAct_SelectedIndexChanged(null, null);

                dlProvAct_SelectedIndexChanged(null, null);

                //------------------------------------

                dlActiv.DataSource = Actividad.listar_Actividad();
                dlActiv.DataBind();

                //------------------------------------

                dlOrg.DataSource = OrgAtendida.listar_OrgAtendida();
                dlOrg.DataBind();

                //------------------------------------

                ddlDNI.DataSource = Talento.listar_Talento_combo_mant();
                ddlDNI.DataBind();

                string popupScript = "Javascript: return " +
                                     "window.open('" + "../Admin/CV.aspx" + "', 'CustomPopUp', " +
                                     "'width=1000, height=600, menubar=no, resizable=no');";

                btnCV.Attributes.Add("onclick", popupScript);
            }
        }