Callback and client-side paging support

Callback paging uses the new script callback feature of ASP.NET 2.0 to provide Web DataWindow page navigation without postback of the whole page to the server. Since no page postback occurs and only the DataWindow is refreshed, Web DataWindow paging performance is improved. XmlClientSide paging provides another option to perform page navigation entirely on the client side without page postback or callback by downloading all the data records in the result set on the first request. You can enable these two new paging methods using the PagingMethod property of the WebDataWindowControl. The default is PagingMethod.Postback.

The XmlClientSide paging option is currently supported only in the XML Web DataWindow and in DataWindow button actions or client JavaScript paging functions of the Web DataWindow client control. The XmlClientSide paging option is not supported in the integrated page navigation bar.

You can also set these properties in the DataWindow painter or in code using the HTMLGen.PagingMethod property.

For more information, see “Paging methods” in the chapter on using Web DataWindows in the Programmer’s Guide and the description of HTMLGen.property in the DataWindow Object Reference.