DataGrid in RadComboBox

6 posts, 0 answers
  1. Michael
    Michael avatar
    4 posts
    Member since:
    Feb 2009

    Posted 29 Apr 2009 Link to this post

    When implementing the RadComboBox, the items list (which, in my case, is a few hundred items) opens slowly. How do I use a virtualized control like DataGrid or Grid view to improve the performance? Any other suggestions are welcome also.

    Thanks,
    mhenderson
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 29 Apr 2009 Link to this post

    Hello Michael,

    Several months ago, I wrote a blog post about replacing the RadComboBox ItemsPresenter with RadTreeView. If your data is hierarchical or can be groupped, you could use a treeview with load-on-demand inside RadComboBox, otherwise you could try the same approach and replace the ItemsPresenter with RadGridView or other virtualized Grid control:
    http://blogs.telerik.com/valerihristov/posts/08-11-08/treeview_in_a_combobox_dropdown_using_radcontrols_for_silverlight.aspx

    Regards,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Michael
    Michael avatar
    4 posts
    Member since:
    Feb 2009

    Posted 30 Apr 2009 Link to this post

    Thanks for your reply. I downloaded the treeview-in-a-combobox sample and swapped the treeview with a datagrid. Then I added a thousand records to the sample datasource. However, this is much slower than the same datagrid by itself with the same amount of data. Is there something I am missing?
  4. Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 04 May 2009 Link to this post

    Hi Michael,

    We are work hard to implement horizontal (cells) virtualization. Could you send us simple project so that we can investigate your scenario?

    Thanks.

    Kind regards,
    Hristo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  5. Michael
    Michael avatar
    4 posts
    Member since:
    Feb 2009

    Posted 11 May 2009 Link to this post

    I'd be happy to send in a sample project illustrating the issue. What's the method for submitting one?
  6. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 11 May 2009 Link to this post

    Hello Michael,

    You can submit private support ticket attaching your sample there. Thank you in advance for helping us investigate the problem!

    Kind regards,
    Konstantin Petkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top