ComponentOne Scheduler for ASP.NET: Client-Side Functionality in Scheduler for ASP.NET AJAX

Client-Side Functionality in Scheduler for ASP.NET AJAX

Scheduler for ASP.NET AJAX has a very rich client-side object model as it is similar to the object model in the server-side control.

When a C1Schedule control is rendered, an instance of the client-side schedule will be created automatically. This means that you can enjoy the convenience of accessing any property and method of the C1Schedule control without having to postback to the server.

For example, suppose a C1Schedule control with name C1Schedule1 is hosted on Web page; When the page is rendered, a corresponding client-side schedule object will be created. Use the following syntax to get the client-side object on a Web page:

$get("C1Schedule1").control

OR

$find("C1Schedule1")

By using Scheduler for ASP.NET AJAX's client-side code, 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 code can increase the efficiency of your Web site.

For examples of adding client-side functionality, see Client-Side Tasks.


Client-Side Properties

Client-Side Events


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