I'm sure this is quite simple but I can't seem to get it to work. I'm just trying to set the selection of a RadComboBox using its onDataBound function.
protected void ReTo_DataBound(object sender, RadComboBoxItemEventArgs e)
{
if (e == null) throw new ArgumentNullException("e");
var combo = sender as RadComboBox;
if (combo.FindItemByText("Jack Johnson") != null)
combo.FindItemByText("Jack Johnson").Selected = true;
}
I think i'm calling the combobox incorrectly.
Thanks for any help.