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

Call for Data Crashes with DataPager

1 Answer 18 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Patrick Schärer
Top achievements
Rank 1
Patrick Schärer asked on 10 Jun 2010, 10:14 AM
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

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? 

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 10 Jun 2010, 10:17 AM
Hello Patrick Schärer,

Please, prepare a sample project with all this, open a separate support ticket, attach it and we will debug it to see what is going on.

Thanks in advance.

Sincerely yours,
Ross
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.
Tags
GridView
Asked by
Patrick Schärer
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or