Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Sometimes you need to execute your client-side function when the GridWeb page changes. Aspose.Cells.GridWeb provides the OnPageChangeClientFunction property for this purpose. Please set this property with the client-side function that you want to execute.
The following ASPX markup explains how to make use of the OnPageChangeClientFunction property. It sets the property with the client-side function named MyOnPageChange. Please note, this property is valid only if you have enabled paging, i.e., EnablePaging="true". Now, whenever you change the GridWeb page, it will call the client-side function MyOnPageChange, which prints the current page index on the console as shown in this screenshot.

This is the code of the client-side function MyOnPageChange that will be executed because of setting the OnPageChangeClientFunction="MyOnPageChange" property in GridWeb. This is the complete ASPX page markup.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.