How to use ToolTip in Label Control in asp.net

1.File-> New-> Website->  ASP.NET Web Site(Visual C#) -> Ok

(Now You will see a Default.aspx page. To create your own page->click on dropdown list below Edit->click Add new item->Select Web Form->click Add)


2.From ToolBox Drag and Drop a Label to Design window->Right click on label->select properties->(look for text property) change text property from label to Label Control ToolTip Example->Set ToolTip property to   ToolTip on Label Control
ToolTip in Label Control







ToolBox->Drag and Drop a Label to Design window->Right click on label->select properties->(look for text property) change text property from label to This is a ToolTip Example->Set ToolTip property to  
 ToolTip Example two

3.Click F5 to run Your project
ToolTip property on label control










ToolTip property on label control

No comments:

Post a Comment