I have a search feature that sets a variable called varFloor to a string value. The dropdown has its default value set to this varFloor variable and displays the correct value most of the time. For some reason though, it will sometimes display the incorrect value in the control. However, when I check the dropdown's Default property value, it will show the correct value.

In the screenshot above, you can see that the value is 1 in the control but the value is actually 5 in its properties. So far this has only occurred with one specific instance, but the code is all the same for each instance, so I'm not sure why this is happening. I've tried to simply reset the control before setting the varFloor variable, but that didn't work.
Any thoughts on this? Thank you!