In situations where a databound value falls outside the options on a RadComboBox, how can I over-ride the default behavior (selecting the first option in the list) with showing the value as empty?
If I have a RadComboBox with selectable options A,B,C and D and it is bound a field with current value of G, I want the value of the RadComboBox to be empty, rather than defaulting to option A.
Business details (If interested)
We have a business object that contains an employee who is responsible for it. This is selected and edited by a RadComboBox. This works well in typical usage.
However, when an employee leaves the company, the business object will still list them as the person responsible for it. The next time the item is edited, the ex-employee will no longer be in the drop-down select list. This causes the RadComboBox to default to the first employee on the list, with no warning that the field needs to be intentionally selected before saving.
We would like to be able to control the behavior when an ex-employee is on the object, the combobox will show up as empty, and thus trigger the required field validation. (Our rule is that the person must be updated upon the first edit after they leave.)