All DevExpress web controls that expose publicly available client-side API now allow any server data to be easily passed to the client,
and accessed as values of specifically declared control properties. For this purpose, a web control exposes the CustomJSProperties event,
and the JSProperties property, each of which enables you to declare custom properties for the client control.
You can specify these properties' values on the server side and then access them on the client, as you would do with built-in properties.
In this demo, the CustomJSProperties event is used to pass paging information (such as the current page index and the total page number)
from the server to the client side. This information is used on the client to update texts of labels and switch the availability of the navigation buttons.