nerdexam
Microsoft

98-363 · Question #39

You create an ASP.NET user control named MyControt.ascx. You need to specify the color of MyControl as follows: <uc:MyControl Color="Blue" /> What should you do?

The correct answer is A. Create a public property named Color in the code-behind file of MyControl.ascx. See the full explanation below for the reasoning.

Question

You create an ASP.NET user control named MyControt.ascx. You need to specify the color of MyControl as follows:

<uc:MyControl Color="Blue" /> What should you do?

Options

  • ACreate a public property named Color in the code-behind file of MyControl.ascx.
  • BCreate a public method named Color in the code-behind file of MyControl.ascx.
  • CCreate a public property named Color in the code-behind file of the page.
  • DCreate a public method named Color in the code-behind file of the page.

How the community answered

(32 responses)
  • A
    72% (23)
  • B
    16% (5)
  • C
    9% (3)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 98-363 Practice