What should you do to use programming to accomplish this task?

You are developing a default.aspx page for Web application that that supports mobile devices. The default.aspx page allows the Domain.com CEO to perform searches and reports on the Domain.com e-Commerce Web site. Controls for both search and report functionality must exist on the default.aspx page. You want only the search controls to be visible when the CEO runs a search and you want only reporting controls to be visible when the CEO reports information. You cannot use programming to accomplish this task.
What should you do?

You are developing a default.aspx page for Web application that that supports mobile devices. The default.aspx page allows the Domain.com CEO to perform searches and reports on the Domain.com e-Commerce Web site. Controls for both search and report functionality must exist on the default.aspx page. You want only the search controls to be visible when the CEO runs a search and you want only reporting controls to be visible when the CEO reports information. You cannot use programming to accomplish this task.
What should you do?

A.
Add two mobile Form controls to the page. Add search controls to the one mobile Form and reporting controls to the other.

B.
Add two mobile Panel controls to the page. Add search controls to the one mobile Panel and reporting controls to the other.

C.
Add one mobile Form control to the page. Add two mobile Panel controls to the Form.
Add search controls to the one mobile Panel and reporting controls to the other.

D.
Add one ASP.NET Form control to the page. Add two mobile Panel controls to the Form. Add search controls to the one mobile Panel and reporting controls to the other.

Explanation:
You must add two mobile Forms to the page but only one will be active at a time. You can thus separate the user interface without using programming.

Incorrect Answers:
B: Adding two mobile Panel controls to the page would require that you use programming to hide one of the Panel controls.
C: Adding two mobile Panel controls to one mobile Form would require that you use programming to hide one of the Panel controls.
D: You cannot add mobile controls to an ASP.NET Web Form. You can only add mobile controls to a mobile Form.



Leave a Reply 0

Your email address will not be published. Required fields are marked *