2 writes to pagedDataSource
System.Web (2)
UI\WebControls\DataGrid.cs (2)
1021
pagedDataSource
= CreatePagedDataSource();
1208
pagedDataSource
= null;
24 references to pagedDataSource
System.Web (24)
UI\WebControls\DataGrid.cs (24)
456
if (
pagedDataSource
!= null) {
457
return
pagedDataSource
.PageCount;
1044
if (
pagedDataSource
.IsCustomPagingEnabled) {
1045
pagedDataSource
.DataSource = new DummyDataSource(count);
1048
pagedDataSource
.DataSource = new DummyDataSource(totalCount);
1050
dataSource =
pagedDataSource
.GetEnumerator();
1065
pagedDataSource
.IsPagingEnabled && !
pagedDataSource
.IsCustomPagingEnabled) {
1069
pagedDataSource
.DataSource = realDataSource;
1070
if (
pagedDataSource
.IsPagingEnabled) {
1071
if ((
pagedDataSource
.CurrentPageIndex < 0) || (
pagedDataSource
.CurrentPageIndex >=
pagedDataSource
.PageCount)) {
1075
columnsArray = CreateColumnSet(
pagedDataSource
, useDataSource);
1081
dataSource =
pagedDataSource
.GetEnumerator();
1085
int initialCapacity =
pagedDataSource
.Count;
1115
bool createPager =
pagedDataSource
.IsPagingEnabled;
1119
if (
pagedDataSource
.IsPagingEnabled)
1120
dataSetIndex =
pagedDataSource
.FirstIndexInPage;
1126
CreateItem(-1, -1, ListItemType.Pager, false, null, displayColumns, rows,
pagedDataSource
);
1184
CreateItem(-1, -1, ListItemType.Pager, false, null, displayColumns, rows,
pagedDataSource
);
1192
if (
pagedDataSource
.IsPagingEnabled) {
1193
ViewState["PageCount"] =
pagedDataSource
.PageCount;
1194
ViewState[DataSourceItemCountViewStateKey] =
pagedDataSource
.DataSourceCount;