PrepAway - Latest Free Exam Questions & Answers

Category: 70-515 (v.2)

Exam 70-515: TS: Web Applications Development with Microsoft .NET Framework 4 (update January 25th, 2014)

What code should be used for this?

DRAG DROP
Exhibit:

There is an ASP.NET page PGPage.
The code-behind file of PGPage is displayed in the exhibit.
There is an application PassGuideApp.
PassGuideApp has a classed named Employees.
Employees has a Hired property of type string.
A client-side script needs data.
The JavaScriptSerializer class is used to serialize the Hired property of each post of the
Employee list.
What code should be used for this?

What should be done?

There is a project with ASP.NET server controls.

There is a base class EuropeClass and two subclasses SpainClass and ItalyClass.
All three have specific client JavaScript code. The code has functions used to create HTML
elements for the controls.
Each of these JavaScript code in an ASP.NET page must only be included once in the
generated HTML page (note that the page can use multiple copies of these controls).
What should be done? Select two.
Note:
PASSGUIDECLASS is the name of the control class.
PassGuideScript contains the Java code for the control.
PassGuide.js is a file that includes the JavaScript.

What should you do?

DRAG DROP
Exhibit:
<uc:PassGuideC ID=“PassGuideC”runat= “server”/>
There is Web page PassGuidePage.aspx.
PassGuidePage.aspx has a control PassGuideC.ascx.
PassGuidePage.aspx make use PassGuideC.ascx as displayed in the exhibit.
A read-only member EmployeeName must be added to PassGuideC.ascx.
The value of this member is ‘Richard Smith’.
This value must also be read by PassGuidePage.aspx.
What should you do?


Page 11 of 12« First...89101112