• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 880
  • Last Modified:

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

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
jskfan
Asked:
jskfan
  • 4
  • 3
1 Solution
 
callrsCommented:
0
 
jskfanAuthor Commented:
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
 
callrsCommented:
In what program? I know Javascript & HTML, not ASP etc., yet...
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
jskfanAuthor Commented:
ASP.Net
0
 
callrsCommented:
How about looking in the documentation for the program you use? Click on the Help menu & look for: drag control to form, etc.
0
 
jskfanAuthor Commented:
the visual studio is not installed with help documentation
0
 
callrsCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now