ASP.NET ToolTipProperty
Web Controls Standard Properties Reference Manual
Definition and Usage
The ToolTip property is used to set or return the text that is displayed when the mouse hovers over a control.
Syntax
<asp:webcontrol id="id" ToolTip="string" runat="server" />
| Property | Description |
|---|---|
| string | The text displayed when the mouse hovers over a control. |
Examples
The following example sets the tooltip text of a Button control:
<form runat="server">
<asp:Button id="button1" Text="Submit" runat="server"
ToolTip="This is an example-button" />
</form>
<asp:Button id="button1" Text="Submit" runat="server"
ToolTip="This is an example-button" />
</form>
Show Example »
Web Controls Standard Properties Reference Manual Other Extensions