Domain Up Down control issue - maybe bug

Answered
0
0

Hi – I’m using the domain updown control.  After I add several values to it I want to set one of the values that happens to be in the middle of the list to be the default value.  I have tried both .SelectedIndex and .SelectedItem and have the same issue.

The default value is set fine. However when the user clicks the down button – what happens is that the control starts at the beginning of the list. Not the next one after the default value.

For example, consider a DomainUpDown control named “ud”

ud.Items.Add(“Item 1”)

ud.Items.Add(“Item 2”)

ud.Items.Add(“Item 3”)

ud.Items.Add(“Item 4”)

ud.Items.Add(“Item 5”)

ud.SelectedIndex = 2  ‘ which would be “Item 3”

Results:

The default value of “Item 3” is displayed.  But when user clicks the down triangle – “Item 1” is displayed.

Is this a bug?  I would expect “Item 4” to be displayed upon first click of down triangle.

 

Please see attached sample project.

Thanks in advance,

 

Matthew

 

 

 

Attachment
  • You must to post comments
Best Answer
0
0

Hi Matthew,

WJ-8533 is fixed and included in Wisej development build 1.4.41.

Best regards
Frank

  • Matthew Ferry
    Thanks for the fix, working as expected now.
  • You must to post comments
0
0

Thanks Matthew.

I have logged issue WJ-8533 for it and we´ll inform you when a fix is available.

Best regards
Frank

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.