30 references to DataPager
System.Web.Extensions (30)
UI\WebControls\DataPagerField.cs (4)
45
return
DataPager
.QueryStringHandled;
48
DataPager
.QueryStringHandled = value;
54
return
DataPager
.QueryStringValue;
96
return
DataPager
.GetQueryStringNavigateUrl(pageNumber);
UI\WebControls\NextPreviousPagerField.cs (15)
438
if (String.IsNullOrEmpty(
DataPager
.QueryStringField)) {
440
int newStartRowIndex = _startRowIndex -
DataPager
.PageSize;
445
DataPager
.SetPageProperties(newStartRowIndex,
DataPager
.PageSize, true);
448
int newStartRowIndex = _startRowIndex +
DataPager
.PageSize;
450
newStartRowIndex = _totalRowCount -
DataPager
.PageSize;
453
DataPager
.SetPageProperties(newStartRowIndex,
DataPager
.PageSize, true);
456
DataPager
.SetPageProperties(0,
DataPager
.PageSize, true);
461
int recordsOnLastPage = _totalRowCount %
DataPager
.PageSize;
463
newStartRowIndex = _totalRowCount -
DataPager
.PageSize;
468
DataPager
.SetPageProperties(newStartRowIndex,
DataPager
.PageSize, true);
532
if (String.IsNullOrEmpty(
DataPager
.QueryStringField)) {
UI\WebControls\NumericPagerField.cs (10)
289
if (String.IsNullOrEmpty(
DataPager
.QueryStringField)) {
291
int currentPageIndex = _startRowIndex /
DataPager
.PageSize;
292
int firstButtonIndex = (_startRowIndex / (ButtonCount *
DataPager
.PageSize)) * ButtonCount;
294
int lastRecordIndex = ((lastButtonIndex + 1) *
DataPager
.PageSize) - 1;
297
newStartRowIndex = (firstButtonIndex - 1) *
DataPager
.PageSize;
305
newStartRowIndex = _totalRowCount -
DataPager
.PageSize;
310
newStartRowIndex = pageIndex *
DataPager
.PageSize;
314
DataPager
.SetPageProperties(newStartRowIndex,
DataPager
.PageSize, true);
405
if (String.IsNullOrEmpty(
DataPager
.QueryStringField)) {
UI\WebControls\TemplatePagerField.cs (1)
94
DataPager
.SetPageProperties(pagerEventArgs.NewStartRowIndex, pagerEventArgs.NewMaximumRows, true);