protected void RefreshGrid(bool rebind)
 {
     RadGrid1.DataSource = CntLainsaSci.GetResponsables(usuario, ctx);
     if (rebind)
     {
         RadGrid1.Rebind();
     }
 }
Beispiel #2
0
 protected void CargarResponsables(Incidencia i)
 {
     rdcResponsable.Items.Clear();
     foreach (Responsable e in CntLainsaSci.GetResponsables(usuario, ctx))
     {
         rdcResponsable.Items.Add(new RadComboBoxItem(e.Nombre, e.ResponsableId.ToString()));
     }
     rdcResponsable.Items.Add(new RadComboBoxItem(" ", ""));
     rdcResponsable.SelectedValue = "";
     if (i != null && i.Responsable != null)
     {
         rdcResponsable.SelectedValue = i.Responsable.ResponsableId.ToString();
     }
 }