You create an ASP.NET page that uses images to identify areas where a user can click to initiate actions. The users of the application use Internet Explorer.
You want to provide a pop-up window when the user moves the mouse pointer over an image. You want the pop-up window to display text that identifies the action that will be taken if the user clicks the image.
What should you do?

You create an ASP.NET page that uses images to identify areas where a user can click to initiate actions. The users of the application use Internet Explorer.
You want to provide a pop-up window when the user moves the mouse pointer over an image. You want the pop-up window to display text that identifies the action that will be taken if the user clicks the image.
What should you do? Correct Answer For each image, set the ToolTip property to specify the text you want to display.

WebControl.ToolTip property gets or sets the text displayed when the mouse pointer hovers over the Web server control. The use of the ToolTip property meets the requirement of this scenario.

 

Incorrect Answers:

A: The AlternateText property is used to specify the text to display if the image is not available.

C: The RaiseBubbleEvent is not useful here. ASP.NET server controls such as the Repeater, DataList and DataGrid Web controls can contain child controls that raise events. Rather than each button raising an event individually, events from the nested controls are "bubbled"—that is, they are sent to the control's parent.

D: The ToStringMethod() would not by itself provide the functionality required.

Related Questions

You use Visual Studio .NET to create a Windows-based application. The application includes a form named XYZProcedures (EXP). EXP allows users to enter very lengthy text into a database. When users click the Print button located on EXP, this text must be printed by the default printer. You implement the printing functionality by using the native .NET System Class Libraries with all default settings. Users report that only the first page of the text is being printed. How should you correct this problem?
The general solution of the differential equation, $$\frac{{{{\text{d}}^4}{\text{y}}}}{{{\text{d}}{{\text{x}}^4}}} - 2\frac{{{{\text{d}}^3}{\text{y}}}}{{{\text{d}}{{\text{x}}^3}}} + 2\frac{{{{\text{d}}^2}{\text{y}}}}{{{\text{d}}{{\text{x}}^2}}} - 2\frac{{{\text{dy}}}}{{{\text{dx}}}} + {\text{y}} = 0$$       is