This topic demonstrates how to add tooltip text to the BinaryImage control, that appears when you hover the mouse over the binary image.
Complete the following steps to add tooltip text to the BinaryImage control.
Set the ToolTip property in the <cc1:C1BinaryImage>
tag, to add tooltip text to the BinaryImage control.
<cc1:C1BinaryImage ID="C1BinaryImage1" runat="server" ImageUrl="~/C1.png" ToolTip="This is a BinaryImage" />
Add the following code to the Page_Load event, to add tooltip text to the BinaryImage control.
To write code in C#
C# |
Copy Code
|
---|---|
C1BinaryImage1.ToolTip = "This is a BinaryImage"; |
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
C1BinaryImage1.ToolTip = "This is a BinaryImage" |
The tooltip text appears when you hover the mouse over the image.