I have a problem with rad drop downlist.
My drop down list is unbound and populated during runtime, every item having text and value.
A valid value to be displayed should be 'no selection' => SelectedValue = null
The selected item should change after the selected node in a tree view is changed
When I first select item which have null as value for the drop down list, everything's ok.
But after an entry from the DrowDownList was selected and the try to change the SelectedValue to null, I have the problem, that even though the SelectedValue seems to be null, the text of the last selected item is still displayed.
I tried setting the value to NULL by using:
- SelectedValue = null;
- SelectedIndex = -1;
- SelectedItem = null;
All produced the same result: The SelectedValue is null when I check, but there is still text displayed.
So, my question is: how can I reset the DropDownList to a state where no item is selected by code.
Thanks for any help