What should you do?

You are creating an ASP.NET application by using the .NET Framework 3.5.

The application contains a reporting section. Pages for the reporting section are stored in the ~/Reports folder.

The Web pages in the ~/Reports folder use the same master page as pages that are not in the reporting section.

You need to modify the pages in the reporting section to meet the following requirements:

– The layout of the pages in the reporting section includes content areas that are not present on other pages in the site.
– The layout of the reporting section-specific content is visible in the Microsoft Visual Studio design mode.
– The pages in the reporting section reflects the changes if any layout changes are made to the site in future.

What should you do?

You are creating an ASP.NET application by using the .NET Framework 3.5.

The application contains a reporting section. Pages for the reporting section are stored in the ~/Reports folder.

The Web pages in the ~/Reports folder use the same master page as pages that are not in the reporting section.

You need to modify the pages in the reporting section to meet the following requirements:

– The layout of the pages in the reporting section includes content areas that are not present on other pages in the site.
– The layout of the reporting section-specific content is visible in the Microsoft Visual Studio design mode.
– The pages in the reporting section reflects the changes if any layout changes are made to the site in future.

What should you do?

A.
Add new reporting section-specific ContentPlaceHolder controls to the existing master page.
Add default HTML markup and ASP.NET controls to each new ContentPlaceHolder control.
“A Composite Solution With Just One Click” – Certification Guaranteed 40 Microsoft 70-564 Exam
Remove Content controls that reference the new ContentPlaceHolder controls from each new content page that is created outside the -/Reports folder.

B.
Create a custom page class that derives from the System.Web.UI.Page class.
Use the Page_Load method of the custom class to dynamically add controls that display the reporting section-specific content.
Configure content pages in the ~/Reports folder to derive from the custom page class.

C.
Create a nested master page that binds to the existing master page.
Add the reporting section-specific ContentPlaceHolder controls to the new master page.
Configure content pages in the -/Reports folder to use the new master page.

D.
Copy all HTML markups and ASP.NET controls from the existing master page to a new master page created specifically for the reporting section.
Add the reporting section-specific ContentPlaceHolder controls to the new master page.
Configure content pages in the -/Reports folder to use the new master page.



Leave a Reply 0

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