Latest web development tutorials

ASP.NET ToolTip property

Web Control Standard Properties Reference Web Control Standard Properties Reference

Definition and Usage

ToolTip property sets or returns the text displayed on a control when the mouse was suspended.

grammar

<asp:webcontrolid="id" ToolTip="string"runat="server" />
属性 描述
string 当鼠标悬浮在一个控件上时所显示的文本。


Examples

The following examples set the Button control's tool tip text:

<form runat="server">
<asp:Button id="button1" Text="Submit" runat="server"
ToolTip="This is an example-button" />
</form>

The demonstration >>

Web Control Standard Properties Reference Web Control Standard Properties Reference