By design EntityQueryPagedCollectionView.PageIndex may be set to -1
(for example when objectDataSource.Load() called twice), but DataPager
from SL toolkit wont only >=0 numbers (raise
ArgumentOurOfRangeException).
private void InitFields()
{
this._queryPageMap.Clear();
this._requestedPageLoading.Clear();
this.CurrentItem = null;
this.CurrentPosition = -1;
this.PageIndex = -1; //!!!
}
|
Is it bug or design feature ?