RadDataPager and DomainDataSource pagesize and loadsize issue

2 posts, 0 answers
  1. Alex
    Alex avatar
    36 posts
    Member since:
    Sep 2010

    Posted 27 Sep 2011 Link to this post

     

    I have radgridview, raddatapager and domaindatasource on a page. I have datapagers pagesize set to 1 and domaindatasources page size set to 1 and loadsize to 2. I only have 2 records and I get them, I end up with 2 pages with 2 same items on each page. Instead it should have beed 2 pages with one item on each page. is it a bug or am I doing something wrong?

    Thanks in advance

    <telerik:RadDataPager Source="{Binding Data, ElementName=GridViewChildrenDomainDataSource}"

    IsTotalItemCountFixed="True"

    PageSize="1"

     

    Visibility="Collapsed">

     

     

    <riaControls:DomainDataSource x:Name="GridViewChildrenDomainDataSource"

    QueryName="GetMessageSequence"

    AutoLoad="False"

    LoadSize="2"

     

    PageSize="1"

     

    Unloaded="GridViewChildrenDomainDataSource_Unloaded"

     

    LoadedData="GridViewChildrenDomainDataSource_LoadedData"

     

    Loaded="GridViewChildrenDomainDataSource_Loaded">

  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 27 Sep 2011 Link to this post

    Hello Alex,

    Do you get different results when you use the stock DataGrid and the stock DataPager?

    Kind regards,
    Ross
    the Telerik team

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

Back to Top