ComponentOne ToolBar for ASP.NET AJAX: Working With Client-Side Script

Working With Client-Side Script

C1Upload client side has a very rich client-side object model since most of its members are identical to the members in the server-side control.

When a C1Upload control is rendered, an instance of the client-side upload will be created automatically. This means that you can enjoy the convenience of accessing properties and methods of the C1Upload control without having to postback to the server.

For example, suppose a C1Upload control with the name C1Upload1 is hosted on the Web page, when the page is rendered, a corresponding client upload will be created.

You can get the reference for a C1Upload using the following client-side code:

var controlObj = Sys.Application.findComponent("<%=C1Upload1.ClientID%>");

Using C1Upload’s client-side code, you can implement many features in your Web page without the need to take time up by sending information to the Web server. Thus, using C1Upload’s client-side object model can increase the efficiency of your Web site.


Client-Side Properties

Client-Side Methods

Client-Side Events


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