Solved

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

Posted on 2006-06-28
7
851 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
Technology Partners: 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A short article about problems I had with the new location API and permissions in Marshmallow
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
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 …

739 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