Solved

must be placed inside a form tag with runat=server.

Posted on 2006-06-28
7
850 Views
Last Modified: 2008-03-06
Whenever I add a control to a form it gives me an error like this:
Control 'Button3' of type 'Button' must be placed inside a form tag with
runat=server.

any idea?

thanks
0
Comment
Question by:jskfan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 30

Accepted Solution

by:
callrs earned 250 total points
ID: 17002365
0
 

Author Comment

by:jskfan
ID: 17002813
what should I do to make any control that I drag to the for will go between <form> </form> tags, without doing it manually?.

0
 
LVL 30

Expert Comment

by:callrs
ID: 17002979
In what program? I know Javascript & HTML, not ASP etc., yet...
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:jskfan
ID: 17003787
ASP.Net
0
 
LVL 30

Expert Comment

by:callrs
ID: 17003925
How about looking in the documentation for the program you use? Click on the Help menu & look for: drag control to form, etc.
0
 

Author Comment

by:jskfan
ID: 17005449
the visual studio is not installed with help documentation
0
 
LVL 30

Expert Comment

by:callrs
ID: 17008936
Found this on Google
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B302342     HOW TO: Add ASP.NET Server Controls to a Web Form and Change Their Properties

Google for: asp.net visual studio drag control to form
for more if that doesn't help
-R.S.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question