While writing code in Visual Studio 2005 you creates a new instance of a ASP.NET TextBox server control, what do you need to do to get the TextBox to display on the Web page?
Options
- Call the ShowControl method on the TextBox.
- Set the VisibleControl to true on the TextBox.
- Add the TextBox instance to the form1.Controls collection.
- Execute the AddControl method on the Web page.
CORRECT ANSWER : Add the TextBox instance to the form1.Controls collection.
Write your comments