I have several ultraComboBoxes that I bind to dataviews. I tried clearing the combobox by ucbWarehouse.Datasource = Nothing. This only clears the grid dropdown but not the text. When I do ucbWarehouse.Text = "" I get an error.
I tried setting Value = 0 but the text will also show 0.
My workaround for now is
try
ucbWarehouse.Text = ""
catch
'do nothing
end try
How do I properly clear the combobox?
Any reply is much appreciated.
Seems like you want to do this:
ucbWarehouse.Value = null