Custom Control

VIEWER run report designer REPORT DESIGNER
To be able to run the Document Viewer, the client web browser must support HTML5.

This demo illustrates how to use some of the report events for custom drawing report controls. In this demo, the XRControl.BeforePrint and XRControl.HtmlItemCreated events are handled, to replace the standard drawing procedures of an XRControl object. This example creates a report containing a list of the 10 most heavily populated countries in the selected continent. The population value is represented graphically by a progress bar, which is drawn using the Custom Draw feature.