DataPager not working quite right with QueryableCollectionView

2 posts, 0 answers
  1. Jerome
    Jerome avatar
    87 posts
    Member since:
    Aug 2010

    Posted 21 Sep 2010 Link to this post

    I have a IQueryable<T>, I'm wrapping it with a QueryableCollectionView. Setting the PageSize to 100. There are some 1500 items in the collection.

                Height="*" />
                Height="Auto" />
            ItemsSource="{Binding PagedSource}" />
            Source="{Binding PagedSource}"
            IsTotalItemCountFixed="False" />

    The GridView works fine. It shows only the first 100 records. The DataPager however renders showing page " " of 1, and doesn't let me change pages. It looks unaware of the QueryableCollectionView. I'm not sure what I'm missing. I'm assuming it's in setting up the Source improperly somehow.

  2. Rossen Hristov
    Rossen Hristov avatar
    2478 posts

    Posted 22 Sep 2010 Link to this post

    Hello Jerome,

    There are many ways in which you can set-up a pager and a grid.

    Please, take a look at my tutorial here. It lists all possible configurations and provides sample project for them.

    Let me know if you have any other questions after reading my blog post. In case you can't get this working, please open a separate support ticket and attach a runnable sample project. We will examine it in order to see what is going on.

    Best wishes,
    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