DomainUpDown in Compact Framework 3.5

Really quick tip for anyone struggling with DomainUpDown clearing on the .NET Compact Framework. It seems setting the SelectedIndex to -1 is not enough to clear your selection and can be quite infuriating when you need the form to forget the last choice. It seems that setting the SelectedIndex isn't enough and without setting the Text property to an empty string the DomainUpDown will not clear your previous selection.

Comments