PrepAway - Latest Free Exam Questions & Answers

How should you create the component?

You create Web-based client applications. You are creating a component. The component implements a document explorer for navigating the document tree and selecting documents for editing. The component will be used as a user interface element in your application as well as in other developers applications. You need to include the component easily on any page of your application or in any other developers application. You also need to permit other developers to use your component in the visual designer. How should you create the component?

PrepAway - Latest Free Exam Questions & Answers

A.
Create the component as an .aspx page that has embedded code blocks to draw the document tree and handle events. Instruct other developers to access your component by using ASP.NET #include statements.

B.
Create an ASP.NET master page that includes your component as a document explorer in the left navigation bar. Instruct other developers to create their pages as content pages that are associated to your master page.

C.
Create an ASP.NET user control to present the document explorer. Instruct other developers to include the source code for your user control in their projects.

D.
Create an ASP.NET Server control to present the document explorer. Instruct other developers to reference your server control from their projects.


Leave a Reply