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

how to hide next and prev button in radgrid pager template

2 Answers 151 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sudhesh
Top achievements
Rank 1
sudhesh asked on 31 Jan 2012, 07:35 AM
i have placed one rad grid with the following settings in my app.

<telerik:RadGrid ID="rgAppSearch" EnableEmbeddedSkins="false" ShowHeader="true" AllowFilteringByColumn="true"
        EnableLinqExpressions="true"
        AutoGenerateColumns="False" Skin="Default" PageSize="10"
        AllowSorting="True" GridLines="None" runat="server" AllowPaging="true">
<PagerStyle AlwaysVisible="true"  />
</telerik:RadGrid >

everything is working fine but when i hover the mouse in the footer it showing the text "Next","Previous". how to hide this in pager template.

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 31 Jan 2012, 07:58 AM
Hello Sudheesh,

Try setting the following.
aspx:
<PagerStyle AlwaysVisible="true" NextPagesToolTip=" "  FirstPageToolTip=" " PrevPagesToolTip=" "  LastPageToolTip=" "/>

-Shinu.
0
sudhesh
Top achievements
Rank 1
answered on 31 Jan 2012, 08:25 AM
shinu,

thanks for the reply . the settings u provided is not working

i have tried the following css is working nice.

.RadGrid_Default .rgPagePrev,
.RadGrid_Default .rgPageNext,
.RadGrid_Default .rgPageFirst,
.RadGrid_Default .rgPageLast {
    display: none !important;
}
Tags
Grid
Asked by
sudhesh
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
sudhesh
Top achievements
Rank 1
Share this question
or