Home Dashboard Directory Help
Search

Silverlight 5 ComboBox Problem by Calvin Lam


Status: 

Closed
 as Won't Fix Help for as Won't Fix


1
0
Sign in
to vote
Type: Bug
ID: 715111
Opened: 12/21/2011 6:51:24 PM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
1
Workaround(s)
view
0
User(s) can reproduce this bug

Description

I try to bind 4000 items to a comboBox, when I click on the comboBox, it hangs for several seconds for the binding, so I change to use VirtualizationStackPanel as the ItemsPanel of the comboBox, now the speed is fast but when I select one of the item, afterwards, I scroll the bar to top or bottom, I just can see several records around the selected item. But I cannot scroll to find more than that. Thanks~
Details
Sign in to post a comment.
Posted by Microsoft on 7/2/2013 at 11:36 AM
Thanks for your feedback!

We have reviewed this issue, and unfortunately are not able to address it in the currently released version of Silverlight.

Thanks,
Silverlight team
Posted by Calvin Lam on 1/9/2012 at 11:26 PM
I find out more problems on it and also some alternative solution

1. Same as my previous situation, 4000 items are required for data binding
2. Use VirtualizationStackPanel as ItemsPanel for facilitate the data binding
3. The scrollbar cannot be scrolled properly while there is an item selected before

There is an alternative solution by defining ItemTemplate, the scrollbar will become better operational, but still have some problems, the highlighted item will popped when you are scrolling the scrollbar

4. Define ItemTemplate rather than using DisplayMemberPath
5. After defining ItemTemplate, the Searching function on ComboBox is becoming dysfunctional
6. Set TextSearch.TextPath= on ComboBox for activate the Searching function again

Everything will seems right at this moment, one last problem is
7. When you click on the ComboBox
8. The DropDownList is opened
9. Type something to Search
10. The item should be searhable but the hightlight color is disappeared
11. User cannot easily recognize the ComboBox is already selected the value he wants

Hopefully, there will have a solution in the near future coz ComboBox is really important control in Silverlight

Thanks for your team effort.
Posted by MS-Moderator09 [Feedback Moderator] on 12/22/2011 at 1:02 AM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. Your issue has been routed to the appropriate VS development team for review. We will contact you if we require any additional information.
Posted by MS-Moderator01 on 12/21/2011 at 7:45 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
Posted by Calvin Lam on 1/9/2012 at 11:27 PM
I find out more problems on it and also some alternative solution

1. Same as my previous situation, 4000 items are required for data binding
2. Use VirtualizationStackPanel as ItemsPanel for facilitate the data binding
3. The scrollbar cannot be scrolled properly while there is an item selected before

There is an alternative solution by defining ItemTemplate, the scrollbar will become better operational, but still have some problems, the highlighted item will popped when you are scrolling the scrollbar

4. Define ItemTemplate rather than using DisplayMemberPath
5. After defining ItemTemplate, the Searching function on ComboBox is becoming dysfunctional
6. Set TextSearch.TextPath= on ComboBox for activate the Searching function again

Everything will seems right at this moment, one last problem is
7. When you click on the ComboBox
8. The DropDownList is opened
9. Type something to Search
10. The item should be searhable but the hightlight color is disappeared
11. User cannot easily recognize the ComboBox is already selected the value he wants

Hopefully, there will have a solution in the near future coz ComboBox is really important control in Silverlight