protected void rcbxEmbajada_SelectedIndexChanged(object sender, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)
 {
     if (this.rcbxEmbajada.SelectedValue != string.Empty)
     {
         TipoVisaBll objBllTipVisa = new TipoVisaBll();
         Utilidades.LlenarRC(this.rcbxTipoVisa, objBllTipVisa.GetList(string.Empty, (RMEntity.Constants.Embajadas)Convert.ToInt32(this.rcbxEmbajada.SelectedValue), false, true, false), "ID", "NOMBRE", true);
     }
     else
     {
         Utilidades.LlenarRCEnBlanco(this.rcbxTipoVisa);
     }
 }
 protected void rcbxEmbajada_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
 {
     if (this.rcbxEmbajada.SelectedValue != string.Empty)
     {
         TipoVisaBll objBll = new TipoVisaBll();
         this.EmbajadaCurr = (Constants.Embajadas)Convert.ToInt32(this.rcbxEmbajada.SelectedValue);
         Utilidades.LlenarRC(this.rcbxTipoVisa, objBll.GetList(string.Empty, this.EmbajadaCurr, false, true, false), "ID", "NOMBRE", true);
     }
     else
     {
         Utilidades.LlenarRCEnBlanco(this.rcbxTipoVisa);
         this.EmbajadaCurr = Constants.Embajadas.Colombia;
     }
 }
示例#3
0
        protected void gvTipoVisa_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
        {
            TipoVisaBll objBll = new TipoVisaBll();

            gvTipoVisa.DataSource = objBll.GetList(string.Empty, Constants.Embajadas.Colombia, true, true, true);
        }