This example demonstrates how the ASPxPager control can be used to perform pagination for the ReportViewer control, displaying a multi-page report. At present, ASPxPager does not expose a client-side model (see ASPxPager - publish ClientSide Events and client side API). Also, unfortunately, it's impossible to change a page number in the ReportViewer via server code. You can only do this on the client side: ASPxClientReportViewer.GotoPage. Due to these two peculiarities, it is necessary to perform at least two round-trips to the server (first when selecting a page in the ASPxPager, and second, when calling the ASPxClientReportViewer.GotoPage() method).
↧