Adding multiple items to RadGridView or RadTreeListView

2 posts, 0 answers
  1. Vince
    Vince avatar
    4 posts
    Member since:
    Aug 2011

    Posted 28 Nov 2011 Link to this post

    For example, I have an ObservableCollection with 10000 items, and I want to add 1000 items to this collection. If I were to add the 1000 items one by one, it would be painfully slow because of the 1000 CollectionChanged events fired. The second option is to use the RadObservableCollection's SuspendNotifications and Reset methods. This option is more tolerable but it's still not desirable as adding 1000 items causes the control to reload the whole collection of 11000 items. Is there a better way to add 1000 items with a single CollectionChanged event being raised that is not a Reset action?

  2. Vlad
    Vlad avatar
    11100 posts

    Posted 29 Nov 2011 Link to this post


     Currently there is no other way to achieve this. 

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top