PrepAway - Latest Free Exam Questions & Answers

How can you ensure this?

Exhibit:

There is a ASP.NET MVC 2 Web Application named PassGuideApp.
PassGuideApp has multiple folders.
The folder Views/Shared/DisplayTemplates folder includes a file PassGuideH.ascx.
PassGuideH.ascx do specialized integer formatting.
There is a folder Models folder that contains an Employ class.
The definition of the Employ class is displayed in the exhibit.
Whenever a view, with a model type of Employ, in PassGuideApp is using the
HtmlHelper.DisplayForModel method on CurrentValue values the custom formatting need
to be applied.
How can you ensure this?

PrepAway - Latest Free Exam Questions & Answers

A.
Change the CurrentValue property by adding the attribute <URIHint(“PassGuideH”)>.

B.
Change the CurrentValue property by adding the attribute [Display(Name=”CurrentValue”,
ShortName=”PassGuideH”)]

C.
Change the CurrentValue property by adding the attribute <UIHint(“PassGuideH”)>.

D.
Change the CurrentValue property by adding the attribute [Update(Name=”CurrentValue”,
ShortName=”PassGuideH”)]

E.
Make a copy of PassGuideH.ascx with the name CurrentValue.ascx. Delete PassGuideH.ascx.

F.
Put the PassGuideH.ascx in the Views/Employ/DisplayTemplates folder


Leave a Reply