View Single Post
  #1 (permalink)  
Old February 3rd, 2005, 01:04 AM
paole paole is offline
Registered User
 
Join Date: Feb 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default A Simple Problem

I am a reader of "Beginning ASP.NET using C#".
In my code,here it goes like this:
   "<asp:textbox id="textbox1 " />"
But I got an error message saying:
   "textbox" should be contained in a form having the property"runat=server".

As we know ,however,when we post to another page with :
"<form action="responsepage.aspx" method="post" >
  other codes
</form>"
 it is wrong to add the property"runat=server".

So,It really puzzled me.
Is there something wrong with my .NET Framework? (its edition is 1.1.4322.573)
By the way ,my IIS is OK,because I successfully tried many asp webs.
I need YOUR HELP ASAP!! Thanks very much!!



Reply With Quote