ItemContainerStyleSelector doesn't work when Virtualization is enabled

3 posts, 0 answers
  1. Sodi We
    Sodi We avatar
    160 posts
    Member since:
    Apr 2010

    Posted 28 Mar 2011 Link to this post


    I have a combobox with some items that need to be disabled. I implemented this with an ItemContainerStyleSelector which will check the item for a certain property and then enables/disables it accordingly. This works like a charm.

    Because the combobox can contain 1000+ items (and is quite slow in that case), I also implemented Virtualization for this combobox. This improves performance significantly.

    However, enabling Virtualization breaks my ItemContainerStyleSelector. It works fine for the initially visible items, but when I start scrolling the styles of those first items just seem to be repeated for everything that comes next.

    Debugging reveals that SelectStyle() is indeed being called for the first few items only, and never again afterwards.

  2. George
    George avatar
    1332 posts

    Posted 31 Mar 2011 Link to this post


    Thank you for contacting us.

    We will look into this problem. We will contact you shortly. 

    Best wishes,
    the Telerik team
  3. DevCraft R3 2016 release webinar banner
  4. George
    George avatar
    1332 posts

    Posted 06 Apr 2011 Link to this post


    It took some time to investigate the problem. It seems it is a bug in the RadComboBox control. I am glad to update your telerik points. The fix for the issue will be included in our SP1 Q1 next week.

    Please do not hesitate to contact us if you require any further information.

    Kind regards,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top