ASP.NET-4 online test, online practice test, exam, quiz
Online Practice Test
1. For your ASP.NET web application your graphics designer created elaborate images that show the product lines of your company. Some of graphics of the product line are rectangular, circular, and others are having complex shapes. You need to use these images as a menu on your Website. What is the best way of incorporating these images into your Website?
Use ImageButton and use the x- and y-coordinates that are returned when the user clicks to figure out what product line the user clicked.
Use the Table, TableRow, and TableCell controls, break the image into pieces that are displayed in the cells, and use the TableCell control’s Click event to identify the product line that was clicked.
Use the MultiView control and break up the image into pieces that can be displayed in each View control for each product line. Use the Click event of the View to identify the product line that was clicked.
Use an ImageMap control and define hot spot areas for each of the product lines. Use the PostBackValue to identify the product line that was clicked.
View Answer and Discussion