PagingStyle Attribute

Version: This material pertains to version 3.0 of Blackbaud CRM SDK.

The QueryViewSpec element's ListBuilder element now contains an optional PagingStyle attribute that determines how to perform paging and searching. By default, a paging style of WebServer controls the maximum number of records returned through the AdHocQueryMaxRecordsDefault setting in the site's web.config file. If that setting is not present, then the default of 500 is used. When using the Search box within a list builder with a PagingStyle attribute set to WebServer, the default behavior is to cache the query results on the web server, and the search value filters that set without having to run the query again. If DatabaseServer is specified, only the records for the current page are retrieved from the database server, allowing you to show an unlimited number of records. List builders display 30 rows per page by default. When using the Search box within a list builder with a PagingStyle attribute set to DatabaseServer, the search text is included in the WHERE clause for each string field in the query view.