Hi,
We are converting our standard Windows ComboBox controls to the Telerik DropDownList to take advantage of displaying the text property to whatever we want (works great!). We were previously setting an unbound ComboBox.SelectedItem = myBizObject to select the current value. However, this does not work with the Telerik DropDownList and setting .Value doesn't apply as the ValueMember is not unique.
Is there a way to manually select the selecteditem like we did with Windows ComboBox? I tried .SelectedItem.DataBoundItem but that didn't work.
Thanks!
We are converting our standard Windows ComboBox controls to the Telerik DropDownList to take advantage of displaying the text property to whatever we want (works great!). We were previously setting an unbound ComboBox.SelectedItem = myBizObject to select the current value. However, this does not work with the Telerik DropDownList and setting .Value doesn't apply as the ValueMember is not unique.
Is there a way to manually select the selecteditem like we did with Windows ComboBox? I tried .SelectedItem.DataBoundItem but that didn't work.
Thanks!