This is a migrated thread and some comments may be shown as answers.

Missing Page/Item Counts

1 Answer 25 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Phil asked on 18 May 2012, 02:27 PM

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"
    OnPreRender="AssetGrid_PreRender" OnSortCommand="AssetGrid_SortCommand" OnNeedDataSource="AssetGrid_NeedDataSource"
    <ClientSettings EnableRowHoverStyle="true">
        <Selecting AllowRowSelect="true" />
        <ClientEvents OnRowDblClick="RowAssetSelected" />
    <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 -->

    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 *

Sorry if I've missed anything important.

The grid however, is displaying the pager row like this:


Is there a setting I've missed to enable the page/item counts in the bottom right?

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 21 May 2012, 05:05 PM
Hello Phil,

Please check out the reply in the formal support thread that you have opened and post there your comments. Once we track down the problem, you could post our findings here if you would like to share them with the community.

the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question