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)

Which code should you use to ensure this after the user has selected his preferred language?

DRAG DROP
Code exhibit:

There is a ASP.NET Web site named PassGuideWeb.
PassGuideWeb provides the users with the option to choose display language.
There is a web page in PassGuideWeb with a DropDownList named PGddl.
Corresponding code is displayed in the code exhibit.
PassGuideWeb has localized resources for the complete page content. This must be
translated into the language the user has selected.
Which code should you use to ensure this after the user has selected his preferred
language?

What steps achieves this?

Code exhibit:

There is a ASP.NET Web site named PassGuideWeb.
PassGuideWeb has a master page PassGuide.master.
The code exhibit has code that is included for PassGuide.master.
A new ASP.NET page named PassGuide1 is created.
PassGuide1 has PassGuide.master as the master page.
You are required to show the PassGuide.master’s PGStr property in the PGDisplay Label
control, which is included in the PassGuide1 page.
What steps achieves this? Select three.

How can you remedy this problem?

Code exhibit:

There is a ASP.NET application named PassGuideApp.
PassGuideApp has a page PassGuidePage.aspx.
PassGuidePage.aspx has a master page PassGuideMaster.aspx.
PassGuideApp must make sure that PassGuidePage.aspx reads the property FooBar from
PassGuideMaster.aspx.
The code in the code exhibit is used for this purpose.
You notice that PassGuidePage.aspx is not able to access the property FooBar.
How can you remedy this problem? Select two.

Which should be done?

DRAG DROP

There is an ASP.NET Web site PassGuideWS.
There is an ASP.NET Web application PassGuideApp.
There is an ASP.NET page PassGuide.aspx
PassGuide.aspx has a Web user control PassGuideC.ascx.
The declaration of PassGuideC.ascx is displayed in the exhibit.
You add the PassGuideMethod to the Code-behind file. Please refer to the exhibit.
A delegate PassGuideEventHandler is defined (see the exhibit).
An event PassGuideEvent, with the type of PassGuideEventHandler, must be added to
PassGuideC.ascx, while attaching the PassGuideMethod of PassGuidePassGuide.aspx to
PassGuideEvent.
Which should be done?


Page 12 of 12« First...89101112