asp button not showing up

M

mike

I'm new to asp.net and just starting building a page with
a label and a button. The label shows up but the button
did not.

Here's the source:

<%@ Page language="c#" Codebehind="WebForm1.aspx.cs"
AutoEventWireup="false" Inherits="Chapter2.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN" >
<HTML>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" Content="Microsoft
Visual Studio 7.0">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript"
content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post"
runat="server">
<asp:Label id="lblHelloWorld"
style="Z-INDEX: 101; LEFT: 21px; POSITION: absolute; TOP:
17px" runat="server">Hello World</asp:Label>
<asp:Button id="btnSubmit"
style="Z-INDEX: 102; LEFT: 128px; POSITION: absolute;
TOP: 12px" runat="server" Text="Submit"></asp:Button>
</form>
</body>
</HTML>
 
R

Robert Aldwinckle

You're posting to the wrong newsgroup.
If this is meant for the client delete the asp: prefixes.
 

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