When I set the Text property of one of the items to a Null string ("") and it's selected then the SelectedItem property of the DDL gives a Nothing value. If I set the Text property to f.e. 1 space (" ") then I don't have this problem.
3 Answers, 1 is accepted
answered on 15 Dec 2011, 05:07 PM
Thank you for writing.
I cannot reproduce the issue with my test project - please refer to the code snippet below:
PrivateSubForm2_Load( sender AsSystem.Object, e AsSystem.EventArgs) HandlesMyBase.Load
for i =0 to 10
When I select Item(4), the SelectedItem is not Noting.
Please check if I have not followed your description correctly and modify the code in a way to demonstrate the issue. This will allow me to assist you further with a workaround if such is available.