Microsoft
70-519 · Question #293
You are developing a Asp.net web application tht includes a panel control that has ID contentsection. You need to add a textBox control to the panel control.
The correct answer is C. this.ContentSection.control.add(this.LoadControl(typeof(TextBox),null)). See the full explanation below for the reasoning.
Question
You are developing a Asp.net web application tht includes a panel control that has ID contentsection. You need to add a textBox control to the panel control.
Options
- Athis.RequireControlState(this.LoadControl(typeof(TextBox),null));
- Bthis.ContentSection.control.add(this.FindControl(ContentSection.ID + "asp:TextBox"));
- Cthis.ContentSection.control.add(this.LoadControl(typeof(TextBox),null));
- Dthis.LoadComplete("asp:TextBox").IntiantiateIn(Content Section)
How the community answered
(50 responses)- A10% (5)
- B6% (3)
- C80% (40)
- D4% (2)
Community Discussion
No community discussion yet for this question.