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

Odd pager behavior

1 Answer 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andrew Kitchens
Top achievements
Rank 1
Andrew Kitchens asked on 13 Jul 2010, 08:17 AM
I am trying to always show the pager at the bottom of a grid. When the page loads it shows fine. If I change the page size to show all rows it disappears. If I click on a row and a post back fires it reappears at the top of the grid. If I change the page size to a smaller number the pager returns to the bottom of the grid. What am I doing wrong?  ... this page is using a master page if that makes a difference.

Andrew

<telerik:RadGrid ID="grdRoles" runat="server" AutoGenerateColumns="False"
  AllowPaging="True" AllowSorting="false"GridLines="None" Width="375"
     OnNeedDataSource="GrdRoles_NeedsDataSource"
OnDeleteCommand="GrdRoles_DeleteCommand"
  OnSelectedIndexChanged="GrdRoles_SelectedIndexChanged">
    <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="True" Position="Bottom" />
    <MasterTableView CommandItemDisplay="None" DataKeyNames="Value" AutoGenerateColumns="False">
        <Columns>
            <telerik:GridBoundColumn DataField="Value" HeaderText="Role" ReadOnly="false"
              SortExpression="Value" UniqueName="Value">
            </telerik:GridBoundColumn>
            <telerik:GridButtonColumn ConfirmText="Remove all users from this role and
              delete?" ConfirmDialogType="RadWindow" ConfirmTitle="Delete"
              ButtonType="ImageButton" CommandName="Delete" Text="Delete"
              UniqueName="DeleteColumn" Visible="true">
                <ItemStyle HorizontalAlign="Center" CssClass="MyImageButton" />
           </telerik:GridButtonColumn>
        </Columns>
    </MasterTableView>
    <ValidationSettings CommandsToValidate="PerformInsert,Update" />
        <ClientSettings enablepostbackonrowclick="true">
            <Selecting AllowRowSelect="True" />
        </ClientSettings>
</telerik:RadGrid>

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 14 Jul 2010, 01:36 PM
Hi Andrew,

Try upgrading to the latest internal build of the controls or the latest release. This issue has been fixed.

Regards,
Tsvetoslav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Andrew Kitchens
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or