D
David
Hello,
i have this code:
public class MyControl :System.Web.UI.Control, INamingContainer
{
protected override void CreateChildControls()
{
TextBox myTextBox = new TextBox();
myTextBox.ID = "txtMyTextBox";
this.Controls.Add(myTextBox);
}
}
When the page postback how can i do to get the text of myTextBox?
Thanks.
i have this code:
public class MyControl :System.Web.UI.Control, INamingContainer
{
protected override void CreateChildControls()
{
TextBox myTextBox = new TextBox();
myTextBox.ID = "txtMyTextBox";
this.Controls.Add(myTextBox);
}
}
When the page postback how can i do to get the text of myTextBox?
Thanks.