Answer: With the help of Image 'AlternateText property,we can provide the alternate text of the Image button or Image.
It displayed text in the Image control when the image is not available.Browsers that support the ToolTips feature display this text as a ToolTip.
For Example:
<asp:Image id="img_view" runat="server" AlternateText="View Selected Record" ImageAlign="left"
ImageUrl="images/view.jpg"/>
If view.jpg image is not present then View Selected Record will be displayed as ToolTip on Image.
Asked In: Many Interviews |
Alert Moderator