Free Trial Buy Now

Callback Panel - Custom JavaScript Properties

Hercules Unchained Directed by: Pietro Francisci
Year: 1959

While negotiating peace between two brothers contesting the throne of Thebes, an amnesiac Hercules is seduced by the evil Queen Omphale.
Prev
Next

Description

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.

Version: v2012 vol 2.8
Experience the DevExpress Difference Today
Demos with source code are included with an installation of DevExpress controls for ASP.NET. Refer to the Demos and Sample Applications topic to learn more.
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress ASP.NET Controls ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.