protected void LoadExaminationTypeCombo(Examination ex) { rdcExaminationType.Items.Clear(); foreach (ExaminationType et in CntAriCli.GetExaminationTypes(ctx)) { rdcExaminationType.Items.Add(new RadComboBoxItem(et.Name, et.Code)); } // Implicity there's always a 'general' type; if (ex == null) { rdcExaminationType.SelectedValue = "general"; } else { rdcExaminationType.SelectedValue = ex.ExaminationType.Code; } }