PrepAway - Latest Free Exam Questions & Answers

Category: 70-515

Exam 70-515: TS: Web Applications Development with Microsoft .NET Framework 4

Which configuration should you add to the web.config file?

You are implementing an ASP.NET Web site that uses a custom server control named Task. Task is defined as shown in the following list.

Class name: Task
Namespace: DevControls
Assembly: TestServerControl.dll
Base class: System.Web.UI.WebControls.WebControl

You copy TestServerControl.dll to the Web sites Bin folder.
You need to allow the Task control to be declaratively used on site pages that do not contain an explicit @ Register directive.
Which configuration should you add to the web.config file?

What should you set the ClientIDMode property of the DropDownList to?

You are developing an ASP.NET Web page.
You add a data-bound GridView control.
The GridView contains a TemplateField that includes a DropDownList.
You set the GridViews ClientIDMode property to Static, and you set the ClientIDRowSuffix property to ProductID.
You need to be able to reference individual DropDownList controls from client-side script by using the ProductID.
What should you set the ClientIDMode property of the DropDownList to?

Which ActionLink should you use?

You are developing an ASP.NET MVC 2 Web application.
The application contains a controller named HomeController, which has an action named Index.
The application also contains a separate area named Blog.
A view within the Blog area must contain an ActionLink that will link to the Index action of the HomeController.
You need to ensure that the ActionLink in the Blog area links to the Index action of the HomeController.
Which ActionLink should you use?


Page 2 of 1112345...10...Last »