Where do the controls go?
-
I seem to be having some trouble making a simple asp.net page. I don't know if it's because I'm simply to inexperianced or there is just some setting that I'm forgetting about in IE or IIS. In VS.NET I create a new web application on localhost (yes, I do have IIS). I then double click on WebForm1.aspx and add a label, textbox, and button. I double click the button and type Button1.Text = "Hello" This is just something simple to get me started. Anyway, I build the solution and then click start w/o debugging. For some reason only the label is there. WHY??????????????????? :confused: :confused: :confused:
-
I seem to be having some trouble making a simple asp.net page. I don't know if it's because I'm simply to inexperianced or there is just some setting that I'm forgetting about in IE or IIS. In VS.NET I create a new web application on localhost (yes, I do have IIS). I then double click on WebForm1.aspx and add a label, textbox, and button. I double click the button and type Button1.Text = "Hello" This is just something simple to get me started. Anyway, I build the solution and then click start w/o debugging. For some reason only the label is there. WHY??????????????????? :confused: :confused: :confused:
Are these server-side controls (e.g. asp:button ). If these are, did you remember to specify "runat=server"?