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

Client-Side Functionality

C1SuperPanel 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 C1SuperPanel 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 C1SuperPanel control without having to postback to the server.

For example, suppose a C1SuperPanel control with name C1SuperPanel1 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("C1SuperPanel1").control

OR

$find("C1SuperPanel1")

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

 Sample Project Available

For a demonstration of client-side functions in the C1SuperPanel control, see the ClientSide page of the ControlExplorer sample.


Client-Side Properties


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