Microsoft
70-515 · Question #87
You are developing an ASP.NET web page that includes a Panel Control that has ID ContentSection. You need to add a text box control to the Panel control. Which code segment should you use?
The correct answer is D. this.ContentSection.Controls.Add(. See the full explanation below for the reasoning.
Question
You are developing an ASP.NET web page that includes a Panel Control that has ID ContentSection. You need to add a text box control to the Panel control. Which code segment should you use?
Options
- Athis.ContentSection.Controls.Add(
- Bthis.LoadTemplate("asp:TextBox")
- Cthis.RequiresControlState(
- Dthis.ContentSection.Controls.Add(
How the community answered
(25 responses)- A8% (2)
- B4% (1)
- C12% (3)
- D76% (19)
Community Discussion
No community discussion yet for this question.