This example demonstrates how to obtain server data from the client. A temporary client property—cpPageIndex—is declared within the ASPxGridView.CustomJSProperties event handler. This property holds the index of the currently active page, and can be accessed on the client side.