This is a migrated thread and some comments may be shown as answers.

[Solved] RadDataPager and DomainDataSource pagesize and loadsize issue

1 Answer 90 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alex
Top achievements
Rank 1
Alex asked on 27 Sep 2011, 11:51 AM

 

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">

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 27 Sep 2011, 12:40 PM
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 >>

Tags
GridView
Asked by
Alex
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or