ComponentOne Expander for ASP.NET AJAX: Client-Side Functionality

Client-Side Functionality

C1Expander 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 C1Expander control is rendered, an instance of the client side control will be created automatically. This means that you can enjoy the convenience of accessing properties and methods of the C1Expander control without having to postback to the server.

For example, suppose a C1Expander control with name C1Expander1 is hosted on Web page; when the page is rendered, a corresponding client side object will be created. Use the following syntax to get the client object:

$get("C1Expander1").control

OR

$find("C1Expander1")

By using C1Expander'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.


Client-Side Properties


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.