|
List<USState> list = GetData();
this.sfComboBox1.DataSource = list;
this.sfComboBox1.CheckedItems.Add(list[0]);
this.sfComboBox1.CheckedItems.Add(list[3]);
this.sfComboBox1.CheckedItems.Add(list[4]); |
Hi,I am opening a for with a SFCombobox with multiselection option, ans I am setting on it values stored previously on a DB. On the text part of the combo I can see the checkeditems I just added by code (SfcbCatalogoRegimenes.CheckedItems.Add(objDatoSF)), but if I open the dropdown list those items are not checked, I need to press the Cancel button and then next time I open the dropdown list appear checked now.I suppose this should be automatically (when you set by code a checked item) the item must appear on the text part and be checked, but it is not happening that way, just when you click Cancel button the first time.Any ideas?Best regardsJulian Hevia Alvarez