Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > GridView > Gridvew and VirtualQueryableCollectionView

Not answered Gridvew and VirtualQueryableCollectionView

Feed from this thread
  • Sascha avatar

    Posted on Feb 8, 2012 (permalink)

    i have a Gridview with the itemssource bound to an VirtualQueryableCollectionView called Collection in the ViewModel.

    When the Collection is initialized for the first time, everything works fine, Collection_ItemsLoading is called.

    Then i have to load a new Collection into the grid, but then the Collection_ItemsLoading  is never called again, olny for the first time for the initial collection.

    I used this version: 2011.3.1205.1040

    Any Idea, how to fix this bug?

    The following code works for the first time, but not the second time and any subsequent call:
    Collection = new VirtualQueryableCollectionView();
    			Collection.ItemsLoading += new EventHandler<VirtualQueryableCollectionViewItemsLoadingEventArgs>(Collection_ItemsLoading);
     			foreach (ColumnSortDescriptor cs in list)
    			{
    				Collection.SortDescriptors.Add(cs);
    			}
    			Collection.LoadSize = 100;
    		
    			Collection.VirtualItemCount = itemCount;

    Regards,
    Sascha

    Reply

  • Vlad Vlad admin's avatar

    Posted on Feb 9, 2012 (permalink)

    Hi,

     Please send us an example project (via support ticket) where we can reproduce this wrong behavior.

    All the best,
    Vlad
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > GridView > Gridvew and VirtualQueryableCollectionView
Related resources for "Gridvew and VirtualQueryableCollectionView"

Silverlight Grid Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]