ComponentOne ToolTip for ASP.NET AJAX: Working with the Client-Side C1ToolTip

Working with the Client-Side C1ToolTip

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

For example, suppose a C1ToolTip control with the name, C1ToolTip1 is hosted on the Web page. When the page is rendered, a corresponding client object with the name C1ToolTip1_Client will be created.

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

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

Using C1ToolTip's client-side code, you can implement many features in your Web page without the need to send information to the Web server which takes time. Thus, using C1ToolTip's client-side object model can increase the efficiency of your Web site.

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


Client-Side Properties

Client-Side Methods

Client-Side Events


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