asp.net.ph

WebControl.ToolTip Property

System.Web.UI.WebControls Namespace   WebControl Class


Sets or retrieves advisory information for the Web control.

Syntax


Inline <asp:control ToolTip = strToolTip ... >
Script WebControl.ToolTip [ = strToolTip ]

Property Value


sToolTip String of advisory text for the object.

This property is read/write with no default value.

Remarks

Microsoft® Internet Explorer® renders the ToolTip when the user hovers the mouse over the object.

NOTE: The ToolTip property is rendered as an HTML 4.0 title attribute. As such, it may not work in downlevel browser versions.

Example

The following sample illustrates using the ToolTip property.

<asp:button text = "Click Me" runat = "server"
   tooltip = "Click me if you are happy" />

 Show me 

See Also

WebControl Members   Base Web Control Properties Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph