Microsoft
70-515 · Question #198
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
(38 responses)- A5% (2)
- B8% (3)
- C84% (32)
- D3% (1)
Community Discussion
No community discussion yet for this question.