I’m using a RadComboBox where a user can select multiple items and save them against a news article.
When the user visits back I need to be able to pre-populate all of the items which were previously saved against the article.
I’m trying to work out how to set multiple items as selected, from what I can see you can only ever set one.
Something like this:
RadComboBoxItem _item1 = new RadComboBoxItem(); _item1.Value = "1"; _item1.Text = "One"; _item1.Selected = true; RadComboBoxItem _item2 = new RadComboBoxItem(); _item2.Value = "2"; _item2.Text = "Two"; _item2.Selected = true; RadComboBox _radComboBox = new RadComboBox(); _radComboBox.Items.Add(_item1); _radComboBox.Items.Add(_item2);
Thank you!!