HELP: runat=server error

V

VB Programmer

I get this error when running my new aspx form:

Control 'cmdConfirm' of type 'Button' must be placed inside a form tag
with runat=server.

It's weird because I DO have a 'runat=server'. Here is the HTML:

<form id="Form1" method="post" runat="server">
:
:
<asp:Button id="cmdConfirm" style="Z-INDEX: 101; LEFT: 400px; POSITION:
absolute; TOP: 392px"
runat="server" Text="Yes!"></asp:Button></P>

Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top