If the HTMLGen.PageSize property of a DataWindow object is not set, the Web.config file property PBDataWindowRowsPerPage limits the number of rows per page for a Web DataWindow control to 20 rows by default.
Because this renders only the specified number of rows at a time, the PBDataWindowRowsPerPage helps reduce the size of the HTML response and thereby enhances performance. This property is global, since it applies to all DataWindows in the application for which HTMLGen.PageSize is not set.
To disable pagination of Web Forms DataWindow objects, set the PBDataWindowRowsPerPage property to -1. To disable pagination for a specific DataWindow object, set its HTMLGen.PageSize property to -1.