[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2006-06-28
7
Medium Priority
?
867 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 750 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

834 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