I have a RadComboBox that has an "EmptyMessage" set. When initially displayed the EmptyMessage shows until the user Selects an item. This is as I expect.
If, during the course of interaction, the user adds a new widget, I can add a RadComboBoxItem to the RadComboBox Items collection and sort the collection and I can set the "Selected" property of the RadComboBoxItem I added.. But when the user deletes a widget, I delete the widget RadComboBoxItem from the Items collection, but I want the RadComboBox to have nothing selected and to again show the "EmptyMessage".
All this is happening on the server side - how can I achieve my desired result?
SelectedIndex and SelectedItem are both read only, so setting them to -1 or null respectiviely doesn't work. I can 't be the only person trying to do something like this.And yet I can't find an example of how to achieve this anywhere.
Thanks in advance.
If, during the course of interaction, the user adds a new widget, I can add a RadComboBoxItem to the RadComboBox Items collection and sort the collection and I can set the "Selected" property of the RadComboBoxItem I added.. But when the user deletes a widget, I delete the widget RadComboBoxItem from the Items collection, but I want the RadComboBox to have nothing selected and to again show the "EmptyMessage".
All this is happening on the server side - how can I achieve my desired result?
SelectedIndex and SelectedItem are both read only, so setting them to -1 or null respectiviely doesn't work. I can 't be the only person trying to do something like this.And yet I can't find an example of how to achieve this anywhere.
Thanks in advance.