Solved

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

Posted on 2006-06-28
7
842 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
  • 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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Batch file output 20 78
stringclean challenge 26 59
word0 challenge 3 58
Magic Software info 18 105
Purpose To explain how to place a textual stamp on a PDF document.  This is commonly referred to as an annotation, or possibly a watermark, but a watermark is generally different in that it is somewhat translucent.  Watermark’s may be text or graph…
A short article about a problem I had getting the GPS LocationListener working.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
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 …

744 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now