PagingStyle Attribute

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

The QueryViewSpec's ListBuilder element now contains an optional PagingStyle attribute which determines how paging and searching is performed. By default, a paging style of WebServer is used, in which case the maximum number of records returned is controlled by 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 the list builder with a PagingStyle 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. There are 30 rows per page by default. When using the Search box within the list builder with a PagingStyle of DatabaseServer, the search text will be included in the WHERE clause for each string field in the query view.