70-305 Developing and Implementing Web Applications With Microsoft Visual Basic .NET Demo

70-305 Developing and Implementing Web Applications With Microsoft Visual Basic .NET DemoYou are creating an ASP.NET application for EliteCertify’s Internet Web site. You want to create a toolbar that will be displaed at the top of each page in the Web site. The toolbar will contain only static HTML code. The toolbar will be used in only your application. You plan to create the toolbar as a reusable component for your application. You need to create the toolbar as quickly as possible. What should you do?

A. Create a new Web Control Library project. Create the toolbar within a Web custom control.
B. Add a new Web user control to your ASP.NET project. Create the toolbar within the Web user control.
C. Add a new Web Form to your ASP.NET project. Use HTML server controls to design the toolbar within the Web Form and save the Web Form with an ascx extension.
D. Add a new component class to your ASP.NET project. Use HTML server controls to design the toolbar within the desiggner of the component class.

Answer: B
Explanation: Web user controls enable you to easily define controls as you need them for your applications, using the same programming techniques that you use to write Web Forms pages.

Reference: Visual Basic and Visual C# Concepts, Introduction to Web User Controls

Incorrect Answers
A: You can use the Web Control Library project template to author custom Web server controls. However, since the toolbar is only going to be used in this application there is no need of the complexity of a Web custom control.
C: An HTML server control would be inadequate.
D: The Component class provides the base implementation for the IComponent interface and enables object-sharing between applications. It does not fit in this scenario.

Website: www.elitecertify.com | Filesize: 313kb
No of Page(s): 6
Click here to download 70-305 Developing and Implementing Web Applications With Microsoft Visual Basic .NET Demo.

Related Tutorial

Tags: , ,

Comments

Leave a Reply