We are using primarily Infragistics.Win.UltraWinEditors.UltraComboEditor for list pickers.
We then set DropDownStyle to DropDownList which is great at avoiding coding and forcing a list choice.
BUT we've realized there will be situations where the user doesn't know what the entry should be or would like to clear an entry.
We can do all that in the ItemNotInList, but requires coding behind all those UCE's.
Is there a better way to require list choice, AND permit no entry OR clear entry ?
Shoud we be using UltraDropDown that permits clearing the control ?
or some other control ?
Thx,
XPXJ
One easy way to do this would be to put a blank item on your list.
Otherwise, you will need to provide a UI for your users to clear the selection. If you are using UltraComboEditor, then you could use the ButtonsRight collection to the add a "Clear" button. But there's no built-in UI to allow the user to clear the list when the DropDownStyle is set to DropDownList.
What's your suggestion if DropDownStyle is set to DropDown ?
What's different about UltraDropDown vs. UltraComboEditor in this regard ?
What's the event behind ButtonsRight collection ?