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

Pager dissappears

1 Answer 40 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Fit2Page asked on 20 May 2020, 01:06 PM

Hi,

 

When having 15 items on 2 pages, PageSize =10 .

Switching to 20 per page in front-end  makes the complete pager bar dissappear.

Can't believe this is standard behavior...is it?

 

Marc

1 Answer, 1 is accepted

Sort by
0
Accepted
Attila Antal
Telerik team
answered on 25 May 2020, 09:28 AM

Hi Marc,

By Default the Pager only shows when there are more items on a Page than it is defined in the PageSize property. If you would like the pager to be displayed at all times, you will need to 

<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" Width="800px" OnNeedDataSource="RadGrid1_NeedDataSource" AllowSorting="true" AllowFilteringByColumn="true">
    <PagerStyle AlwaysVisible="true" />
</telerik:RadGrid>

See also: 

 

Kind regards,
Attila Antal
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Grid
Asked by
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Attila Antal
Telerik team
Share this question
or