nerdexam
Microsoft

70-519 · Question #200

You are designing an ASP.NET Web application. A page of the Web application will use the ASP.NET Calendar server control. Users will select the type of calendar from a drop-down list named…

The correct answer is A. In the page code-behind, override the InitializeCulture() method and set the thread's. See the full explanation below for the reasoning.

Question

You are designing an ASP.NET Web application. A page of the Web application will use the ASP.NET Calendar server control. Users will select the type of calendar from a drop-down list named CalendarType. The CalendarType list contains cultural preferences. You need to recommend an approach for rendering the calendar control based on the selected cultural preference. What should you recommend?

Options

  • AIn the page code-behind, override the InitializeCulture() method and set the thread's
  • BIn the page code-behind, override the OnInit() method and set the thread's CurrentUICulture
  • CCreate a Localize control and set its Mode attribute to Transform.
  • DCreate a div element and set its lang attribute to the selected CalendarType value.

How the community answered

(35 responses)
  • A
    80% (28)
  • B
    6% (2)
  • C
    3% (1)
  • D
    11% (4)

Community Discussion

No community discussion yet for this question.

Full 70-519 Practice