Client-Side Functionality

Studio for iPhone includes a rich and flexible client-side object model. You can use several server-side properties and methods on the client-side. You can also use client-side events, which you can access from the Properties window.

When a Studio for iPhone control is added to a Web project, an instance of the client-side tab control will be created automatically. For example, if you have a C1NavigationList control with the server-side ID of "C1NavigationList1", you can use the following script to acquire a reference to its client object:

 

var navListNew = $find("<%= C1NavigationList1.ClientID %>");

 

Using C1NavigationList1's client-side functionality, you can implement many features in your Web page without having to post back to the server. Thus, using client-side methods and properties will increase the efficiency of your Web site.

The following topics describe the available client-side properties, methods, and events.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.