Remove pagination

Nov 20, 2011 at 9:17 PM

Hi,

First - thanks for writing this webpart.

How can I remove the 30 item limit which creates pagination? We would like to just display all the users in one list.

Thanks

Jeffery

Nov 21, 2011 at 7:58 AM

Hi,

You need to edit the template file:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\CONTROLTEMPLATES\UsersADBrowser\Browser.ascx
and replace the attribute value AllowPaging = "true" to AllowPaging = "false". This will remove the pagination in the user list.

Or increase the value of the attribute PageSize = "20" in the same file Browser.ascx

But if you have a large number of users, then I do not recommend you to remove pager, because a large number of users on the page will slow down your browser. The best solution is to find the optimal value of the attribute PageSize.

Nov 21, 2011 at 9:46 PM

Hi,

Thanks for that – it works perfectly. I also had to modify the height of spltContainer to make it work properly.

Jeffery