Print Page | Close Window

Change PageSize in EntityQueryPCV

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2575
Printed Date: 28-Mar-2025 at 9:33am


Topic: Change PageSize in EntityQueryPCV
Posted By: AuerRo
Subject: Change PageSize in EntityQueryPCV
Date Posted: 22-Mar-2011 at 4:00am
Hi, I have the following strange behavior:

I have a DataGrid using the EntityQueryPagedCollectionView. Loading & Querying runs perfectly. I added a property to change the PageSize of the PCV. But when I call PCV.PageSize = this.PageSize; the PCV's PageSize doesn't change. (And yes, the PageSizes are not equal before ;-))

Can't I change the PageSize after initialization of the PCV or do I have an error elsewhere? How do I change the PageSize?



Replies:
Posted By: kimj
Date Posted: 22-Mar-2011 at 9:42am
Unfortunately you can't currently change the PageSize after the EntityQueryPagedCollectionView is initialized.  We'll open a feature request to get this addressed. 
 
Thanks for bringing this to our attention.


Posted By: AuerRo
Date Posted: 23-Mar-2011 at 1:37am
Thanks for the reply and for adding a request!



Print Page | Close Window