I have an asp page that is rendering, however the <asp: controls are not showing up. This is the first ASP.NET page I have written, so I am not sure where to start looking for problems.
* I am running Windows2000 with IIS 5
* I am using Visual Studio .NET as my IDE
* .aspx file is running off of the virtual server
* .aspx file is located under * .aspx file renders html, but <asp:Button is not showing
* <asp:Button visible property is set to true
* I have used the Build and Browse command in VS and get the same problem as I do in a IE browser session.
* Code is listed below
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
<meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<h3>Enter your name and click the button!</h3>
<asp:TextBox id="txtName" style="Z-INDEX: 101; LEFT: 34px; POSITION: absolute; TOP: 48px" runat="server" Width="156" Height="24"></asp:TextBox>
<asp:Label id="lblLabel1" style="Z-INDEX: 103; LEFT: 34px; POSITION: absolute; TOP: 136px" runat="server" Width="156px" Height="24px"></asp:Label>
<asp:Button id="btnClickHere" style="Z-INDEX: 102; LEFT: 34px; POSITION: absolute; TOP: 93px" runat="server" Text="Click Here" Width="156px" Height="24px"></asp:Button>
</form>
</body>
</HTML>
THANKS!
* I am running Windows2000 with IIS 5
* I am using Visual Studio .NET as my IDE
* .aspx file is running off of the virtual server
* .aspx file is located under * .aspx file renders html, but <asp:Button is not showing
* <asp:Button visible property is set to true
* I have used the Build and Browse command in VS and get the same problem as I do in a IE browser session.
* Code is listed below
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
<meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<h3>Enter your name and click the button!</h3>
<asp:TextBox id="txtName" style="Z-INDEX: 101; LEFT: 34px; POSITION: absolute; TOP: 48px" runat="server" Width="156" Height="24"></asp:TextBox>
<asp:Label id="lblLabel1" style="Z-INDEX: 103; LEFT: 34px; POSITION: absolute; TOP: 136px" runat="server" Width="156px" Height="24px"></asp:Label>
<asp:Button id="btnClickHere" style="Z-INDEX: 102; LEFT: 34px; POSITION: absolute; TOP: 93px" runat="server" Text="Click Here" Width="156px" Height="24px"></asp:Button>
</form>
</body>
</HTML>
THANKS!