Hi
I used before a DomainDataSource to populate both my RadGridView and my RadDataPager and it worked fine. Now I had to change and load my data manually in the Load EventHandler of the Page. So I populate the RadDataPager with data
and bind my GridView to the DataPager, like shown in the help of the RadDataPager (ItemsSource="{Binding PagedSource, ElementName=rdp}")
PROBLEM: I can only load the Data if they are a limited amount now. My DomainService is something very simple.
It gives my quite an amount of data (about 100 Pages - as long as it worked with DomainDataSource). If I add a
[Query(ResultLimit=100)]
it would still work, but I don't want to do this, so that I can see the full number of pages contained in the Servers Source Data.
What could be the reason?
I used before a DomainDataSource to populate both my RadGridView and my RadDataPager and it worked fine. Now I had to change and load my data manually in the Load EventHandler of the Page. So I populate the RadDataPager with data
this.rdp.Source = this.ctx.sAddresses;
EntityQuery
<sAddress> query = this.ctx.GetSAddressesQuery();
query = query.OrderBy(a => a.Name1);
this.ctx.Load<sAddress>(query);
and bind my GridView to the DataPager, like shown in the help of the RadDataPager (ItemsSource="{Binding PagedSource, ElementName=rdp}")
PROBLEM: I can only load the Data if they are a limited amount now. My DomainService is something very simple.
public IQueryable<sAddress> GetSAddresses() {
IQueryable<sAddress> retVal = this.ObjectContext.sAddresses;
return retVal; }
It gives my quite an amount of data (about 100 Pages - as long as it worked with DomainDataSource). If I add a
[Query(ResultLimit=100)]
it would still work, but I don't want to do this, so that I can see the full number of pages contained in the Servers Source Data.
What could be the reason?