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)- A72% (23)
- B16% (5)
- C9% (3)
- D3% (1)
Community Discussion
No community discussion yet for this question.