How to limit number of pages displayed in Repeater with Custom Query?

Aniruddha Patil asked on December 14, 2015 10:33

Hi, I am using Repeater with Custom Query to display data. I am using pagination here by selecting Enable Paging and other properties specified in Paging section. By default 10 pages are diaplayed at a time. I want to show only 5 pages at a time. How can I do that?

Correct Answer

Juraj Ondrus answered on December 14, 2015 14:05

Hi,
Have you tried changing the Page size property of the repeater's pagination settings? Also, another option would be using Universal pager web part with the repeater with custom query.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Aniruddha Patil answered on December 15, 2015 08:48

Hi Juraj,

Changing Page size results in changing number of results shown at a page. I wanted to reduce page numbers shown in paging section. Group Size property of Universal Pager resolved this issue.

Thanks

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.