What should you do?

You are creating ASP.NET applications by using the .NET Framework 3.5.

You maintain a Web site that contains several nested pages defined in its site map file.

You plan to implement a control on each page of the Web site.

You need to ensure that the control meets the following requirements:

– It indicates the current location of the user in the Web site navigation structure.
– It displays a maximum of three pages.

What should you do?

You are creating ASP.NET applications by using the .NET Framework 3.5.

You maintain a Web site that contains several nested pages defined in its site map file.

You plan to implement a control on each page of the Web site.

You need to ensure that the control meets the following requirements:

– It indicates the current location of the user in the Web site navigation structure.
– It displays a maximum of three pages.

What should you do?

A.
Add a TreeView control on each page, and set the MaxDataBindDepth property to 3.

B.
Add a SiteMapPath control on each page, and set the ParentLevelsDisplayed property to 3.

C.
Add a SiteMapPath control in the root of the Web site, and set the ParentLevelsDisplayed property to 3.

D.
Add a TreeView control on each page, and set the StartingNodeOffsetproperty in the XmlSiteMapProvider class to 3.



Leave a Reply 0

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