ComponentOne ToolTip for ASP.NET AJAX: C1ToolTip Quick Start > Step 1 of 4: Adding C1ToolTip to the Page

Step 1 of 4: Adding C1ToolTip to the Page

In this topic, you will add a C1ToolTip control to the page.

1.   Begin by creating an ASP.NET AJAX-Enabled Web Site. Note that if using Visual Studio 2008, you must add a ScriptManager control to the form. If using Visual Studio 2005, the ScriptManager control is automatically added to the form.

2.   Click View | Designer to make sure you are in Design view.

3.   Navigate to the Visual Studio Toolbox and double-click the C1ToolTip control to add it to your page.

4.   Add an HTML Input Button control to your form as well. This is the control that will have a ToolTip. Notice in the Visual Studio Properties window (View | Properties Window) that the Button control has an Id of Button1. This ID will be used to assign the ToolTip to the control.

Note: If the control is not appearing correctly, make sure you have a reference to the C1.Web.UI.Design.2.dll installed with the product in your project.

In the next step you will create a C1ToolTip and assign it to the Button control.


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