Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is there a way for a single user with only read rights to specify number of results in a search site? web part?

Explained in another way. User "test" wants to specify number of results to display in a search. He want's to specify ex: 10 -25 - 50 results per page.

share|improve this question

migrated from stackoverflow.com Jun 5 '12 at 3:36

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 1 down vote accepted

Not out of the box, no. But that would not be too hard to create yourself.

  1. Add a custom web part with a drop down for your page size options. You could even do this with SharePoint designer I guess.

  2. When the user changes the dropdown value, reload the page and append something like ?pagesize=50 to the URL

  3. Use the parameter for the pagesize property of the core results webpart. I'm not sure if you can do this in XML, but otherwise you can inherit the core results web part class and implement a little piece of code which does this.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.