Home > .Net Development > can't see button or textbox on localhost

can't see button or textbox on localhost



Dear all:



I am new to ASP.Net. I tried a simple sample on my PC, windows XP pro, IIS on. the following is the source code from localhost:



<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="HelloWeb.WebForm1" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

<HTML>

<HEAD>

<title>WebForm1</title>

</HEAD>

<BODY>

<TABLE style="WIDTH: 736px; HEIGHT: 168px" cellSpacing="1" cellPadding="1" width="736" border="1">

<TR>

<TD style="WIDTH: 115px"><asp:label id="Label1" runat="server">User</asp:label>&nbsp;Name:</TD>

<TD style="WIDTH: 272px">

<asp:TextBox id="TextBox1" runat="server"></asp:TextBox></TD>

<TD></TD>

</TR>

<TR>

<TD style="WIDTH: 115px"><asp:label id="Label2" runat="server">Password</asp:label>:</TD>

<TD style="WIDTH: 272px"><asp:textbox id="Password" runat="server">kkk</asp:textbox></TD>

<TD></TD>

</TR>

<TR>

<TD style="WIDTH: 115px"></TD>

<TD style="WIDTH: 272px"><asp:button id="LogIn" runat="server" Text="Log In"></asp:button></TD>

<TD></TD>

</TR>

</TABLE>

<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">

<meta content="C#" name="CODE_LANGUAGE">

<meta content="JavaScript" name="vs_defaultClientScript">

<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">

<form id="Form1" method="post" runat="server">

</form>

</BODY>

</HTML>



When I ran it on browzer, there is no textboxs or button on screen, which I used Web Forms toolbar.



please take a look, the web page looks like:URL



any suggestions? thank you in advance.

    
Guest


I am having the same problem. Have you resolved why textboxes no longer show?

Was this answer helpful ? Yes No   
Guest
 
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2010 by Infoqu. All rights reserved