C1ReportViewer includes a robust client-side object model, where a majority of server-side properties can be set on the client-side and client-side events are described in the properties window.
When a C1ReportViewer control is rendered, an instance of the client side C1ReportViewer will be created automatically. This means that you can enjoy the convenience of accessing properties and methods of the C1ReportViewer control without having to postback to the server.
For example, suppose a C1ReportViewer control with name C1ReportViewer1 is hosted on Web page; when the page is rendered, a corresponding client C1ReportViewer object will be created. Use the following syntax to get the client object:
$get("C1ReportViewer1").control
OR
$find("C1ReportViewer1")
By using C1ReportViewer's client-side functionality, you can implement many features in your Web page without the need to take up time by sending information to the Web server. Thus, using client-side methods and events can increase the efficiency of your Web site.
The following topics will describe the available client-side methods and events.
|