M
Mr Newbie
Hi ,
The following code in the Page_Load event will add a textbox to the webform.
The question is regarding the name of the form "Form1".
Q1.) Is this something which ASP.NET names arbitarily as "Form1" or is this
a default property somewhere
Q2.) And, just out of interest can this be changed?
Dim tb As New TextBox
tb.Text = "I'm Angry"
Page.FindControl("Form1").Controls.Add(tb)
The following code in the Page_Load event will add a textbox to the webform.
The question is regarding the name of the form "Form1".
Q1.) Is this something which ASP.NET names arbitarily as "Form1" or is this
a default property somewhere
Q2.) And, just out of interest can this be changed?
Dim tb As New TextBox
tb.Text = "I'm Angry"
Page.FindControl("Form1").Controls.Add(tb)