My RadGrid's used to display Page and Item counts in the bottom right of each Grid. I recently upgraded Telerik from v2011.3.1305 to v2012.1.411.
The markup is as follows:
<
telerik:RadGrid
ID
=
"AssetGrid"
runat
=
"server"
AllowFilteringByColumn
=
"True"
AllowPaging
=
"True"
AllowSorting
=
"True"
GridLines
=
"None"
GroupingSettings-CaseSensitive
=
"false"
Skin
=
"Web20"
AutoGenerateColumns
=
"False"
OnPageIndexChanged
=
"AssetGrid_PageIndexChanged"
OnItemCreated
=
"AssetGrid_ItemCreated"
OnItemDataBound
=
"AssetGrid_ItemDataBound"
OnPreRender
=
"AssetGrid_PreRender"
OnSortCommand
=
"AssetGrid_SortCommand"
OnNeedDataSource
=
"AssetGrid_NeedDataSource"
EnableLinqExpressions
=
"false"
>
<
ClientSettings
EnableRowHoverStyle
=
"true"
>
<
Selecting
AllowRowSelect
=
"true"
/>
<
ClientEvents
OnRowDblClick
=
"RowAssetSelected"
/>
</
ClientSettings
>
<
MasterTableView
EditMode
=
"InPlace"
AllowFilteringByColumn
=
"true"
ShowFooter
=
"false"
EnableColumnsViewState
=
"true"
AutoGenerateColumns
=
"false"
CellSpacing
=
"-1"
DataKeyNames
=
"AsId"
Font-Size
=
"90%"
AllowCustomSorting
=
"true"
AllowCustomPaging
=
"true"
Width
=
"100%"
>
<
PagerStyle
Mode
=
"NextPrevAndNumeric"
Visible
=
"true"
AlwaysVisible
=
"true"
/>
<!-- RowIndicatorColumn, ExpandCollapseColumn, Columns, etc -->
</
MasterTableView
>
</
telerik:RadGrid
>
The NeedDataSource event is as follows:
protected
void
AssetGrid_NeedDataSource(
object
source, GridNeedDataSourceEventArgs e)
{
var collection = getAssets()
AssetGrid.VirtualItemCount = collection.Count;
AssetGrid.DataSource = collection.Skip(AssetGrid.PageSize *
AssetGrid.CurrentPageIndex).Take(AssetGrid.PageSize);
}
Sorry if I've missed anything important.
The grid however, is displaying the pager row like this:
PageCountMissing
Is there a setting I've missed to enable the page/item counts in the bottom right?