WebGrid introduces a breakthrough concept in data grid paging which allows you to retrieve data as needed. With this feature, you can build high-performance applications regardless of the data size. This will ultimately allow your application to grow and scale without trading-off performance.
This topic contains the following sections:
Virtual Load
The implementation of the VirtualLoad paging concept provides an effective approach for users as more data will retrieved from server transparently. WebGrid will initially load a number of rows specified in VirtualPageSize. This results in faster page rendering to client, less bandwith taken and reduced server's workload.
The key design of the feature is to enable a fast, effective and efficient data presentation when work in large DataSource's web applications. Developers are recommended to turn on VirtualLoad paging mode most of the times.
To use Virtual Load, you set the PagingMode to VirtualLoad. In addition, you will also need to specify VirtualPageSize property which allows you to define how many data that you want to load initially.
For more information, see Virtual Load Overview.
Classic Paging
In addition to the VirtualLoad paging, WebGrid also support traditional (classic) paging mode. Although VirtualLoad paging is best suitable for modern Web application, many end users still prefer to use classic paging mode. Classic paging mode is defined by a set of navigation controls (such as First, Previous, Next and Last) to control the active page. In classic paging, the total number of visible rows is a constant number (eg, 25).
Furthermore, WebGrid does not only provide the paging mechanism in ClassicPaging mode, but it also provides rich user interface/styles in PagingStyleUI property.
For more information, read Classic Paging Overview.
Getting Started
Getting Started
Overview
WebGrid Features Overview
Other Resources
Walkthrough Topics
How-to Topics