8 references to ItemCountViewStateKey
System.Web (8)
UI\WebControls\BaseDataList.cs (3)
459
if (ViewState[
ItemCountViewStateKey
] == null) {
590
if (Page != null && !_pagePreLoadFired && ViewState[
ItemCountViewStateKey
] == null) {
628
if (Page.IsPostBack && IsViewStateEnabled && ViewState[
ItemCountViewStateKey
] == null) {
UI\WebControls\DataGrid.cs (3)
1040
count = (int)ViewState[BaseDataList.
ItemCountViewStateKey
];
1191
ViewState[BaseDataList.
ItemCountViewStateKey
] = count;
1202
ViewState[BaseDataList.
ItemCountViewStateKey
] = -1;
UI\WebControls\DataList.cs (2)
858
count = (int)ViewState[BaseDataList.
ItemCountViewStateKey
];
928
ViewState[BaseDataList.
ItemCountViewStateKey
] = ((dataSource != null) ? count : -1);