Take Advantage of Global Configuration Properties
Properties
have been added to standard PowerBuilder Classic controls to enhance the application
presentation in the .NET environment and to improve application performance.
These properties are listed in Global Web Configuration Properties.
You can set them on the Configuration tab in the .NET Web
Forms project painter.
The global properties are generated in the Web.config file
in the main folder for your PowerBuilder .NET Web Forms project
under the IIS server root. After deployment, you can edit the file
directly, or you can modify the global properties using the IIS
Manager.
For information on how to modify global properties in the
IIS Manager, see Viewing and Modifying Global Properties in the IIS Manager.
Global properties also allow you to share data across application
sessions. See Sharing Data Across Sessions.
- DataWindow Pagination
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. - DataWindow Page Navigation
There are several global properties related to DataWindow page navigation. Set the navigation bar at the top or the bottom of a DataWindow page by modifying the PBDataWindowNavigationBarPosition property.