ComponentOne Input for ASP.NET AJAX includes a robust client-side object model where a majority of server-side properties can be set on the client side. Client-side events can be accessed from the Visual Studio Properties window.
When an Input for ASP.NET AJAX control is added to a Web project, an instance of the client-side control will be created automatically. For example, if you have a C1MaskedInput control with the server-side ID of "C1MaskedEdit1", you can use the following syntax to get the client object:
$get("C1MaskedEdit1").control
OR
$find("C1MaskedEdit1")
By using C1MaskedEdit'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.
|