Remove per page limit

Posted on 2012-03-15
Medium Priority
Last Modified: 2012-03-15
A list in sharepoint has the size of 30 per page. If I want to display all rows in one page.
How can I do it?

Question by:zhshqzyc
  • 3
  • 2
LVL 38

Expert Comment

by:Justin Smith
ID: 37724532
Go into the View settings, there is an "Item Limit" towards the bottom of the page.  Bump it up.

Expert Comment

ID: 37724539
You can see this limit by selecting the hyperlink button:

From the content edit toolbar:

Select Browse

and, assuming you have more than 30(depends on you) pages in the directory, you’ll see the 30((depends on you)) item limit

The default is set at 15 pages, but you can quickly and easily fix that.

Open: AssetPortalBrowser.aspx

Loaction: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\AssetPortalBrowser.aspx
Go to: Line number: 96
Edit: PageSize=”15¿
Change the 15 to your desired value.type how much pages you want.

Author Comment

ID: 37724570
Two questions:
1. If you change the 15 to your desired value, it will change all lists in Sharepoint?
2. Suppose I have big line number of 10000, I have to calculate it. But I just want to display all in one page without math.
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

LVL 38

Expert Comment

by:Justin Smith
ID: 37724580
You might be able to set the Item Limit to "0", which would show all items on one page.  However, I have to say if you do this it could really affect performance if you are trying to view thousands of records on one page.

Author Comment

ID: 37724600
No, I tried "0" but failed. The number must be greater than 1.
LVL 38

Accepted Solution

Justin Smith earned 750 total points
ID: 37724616
Well, bottom line, that is how you change the item limit on your views, so you can display "all rows on one page".

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…
From store locators to asset tracking and route optimization, learn how leading companies are using Google Maps APIs throughout the customer journey to increase checkout conversions, boost user engagement, and optimize order fulfillment. Powered …

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question