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

Client-Side Functionality

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

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

$get("C1GridView1").control

OR

$find("C1GridView1")

By using GridView 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.


Client-Side Properties


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