Step 2 of 3: Customizing the Tooltip
In This Topic
In this topic you will set some of the properties for the C1TooltipExtender control.
-
Select View | Properties Window in the Visual Studio menu.
-
Click the drop-down list at the top of the window and select C1TooltipExtender1.
-
-
Enter "Here is a tooltip!" next to the
C1TooltipExtender.Content property.
-
Set the
C1TooltipExtender.Triggers event to RightClick. The markup looks like this:
<cc1:C1TooltipExtender ID="C1TooltipExtender1" runat="server" CloseBehavior="Sticky"
Content="Here is the tooltip!" Triggers="RightClick" TargetControlID="Label1">
</cc1:C1TooltipExtender>
Now run the project to view the tooltip.