Click here to Skip to main content
15,892,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, I am trying to make our asp:Textbox and asp:Button visible on IE8 however nothing is showing up.

We are using Microsoft Expression here is the code:

XML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<% @ Page Language="C#" %> 
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Returns Received Report</title>
<style type="text/css">
.auto-style1 {
	font-size: x-large;
}
.auto-style2 {
	text-align: center;
}
.auto-style3 {
	margin-left: 0px;
}
.auto-style4 {
	margin-left: 280px;
}

.auto-style5 {
	margin-left: 0px;
	margin-bottom: 0px;
}

</style>
</head>
<body>
<div class="auto-style2">
 <body bgcolor="#C0C0C0"><p></p>
	<div class="auto-style2">
<br />
<img alt="Follow on Twitter" src="http://underarmour.custhelp.com/euf/assets/images/UaLogo.jpg" border="0" /><br />
<br />
<span class="auto-style1">Search for a Return<br />
		<br />
</span>:
	</div>
	
			
	<form id="form1" runat="server">
		<div class="auto-style4">
	<asp:TextBox id="Customer" runat="server" Visible="true" Width="261px" CssClass="auto-style5" Height="22px" BackColor="Black" BorderColor="Black">
			<asp:Button id="Button1" runat="server" Visible="true" PostBackUrl="Customer.aspx" Text="Search by Customer" BorderStyle="Outset" />
		</div>
 
	<br />
	<br />
	<asp:TextBox id="PO" runat="server" Visible="true" Width="261px" EnableViewState="True">
	<asp:Button id="Button2" runat="server" Visible="true" PostBackUrl="Order Number.aspx" Text="Search by Order Number" BorderStyle="Outset" Width="181px" />
	<br />
	<br />
	<asp:TextBox id="ADDRESS" runat="server" Visible="true" Width="261px">
	<asp:Button id="Button3" runat="server" PostBackUrl="Street_Address.aspx" Text="Search by Street Address" BorderStyle="Outset" Width="181px" />
	<br />
	<p>
	<asp:TextBox id="TrackingNumber" runat="server" Visible="true" Width="261px">
	<asp:Button id="Button4" runat="server" PostBackUrl="TrackingNumber.aspx" Text="Search by Tracking Number" BorderStyle="Outset" Width="181px" />
	</p>
	<p>
	<asp:TextBox id="VerifiedDate" runat="server" Visible="true" Width="261px" CssClass="auto-style3">
	<asp:Button id="Button5" runat="server" PostBackUrl="TrackingNumber.aspx" Text="Search by Verified Date" BorderStyle="Outset" Width="181px" />
	</p>

	</div>
	<p> </p>
</form>

	</body>

</html>

Posted
Updated 10-Sep-15 4:19am
v2
Comments
F-ES Sitecore 10-Sep-15 10:24am    
You need to find out if the button etc is being rendered to the browser, or if it is just the browser not displaying it due to css. View the source of the page and see if you can find the button. If it is there then examine the css applied to the button by using the browser's dev tools to examine its style. That should give you an idea what it is that is stopping it from showing, it could be the visibility or display attrubutes, maybe the height or width etc. Google diagnosing css issues with browser tools if you need a hand.
Member 11974361 10-Sep-15 11:07am    
Thanks for getting back to me so quickly!

When I view the source it does show the buttons/text box in the code and in the design area on Microsoft Expression the buttons and textbox show up. I've tried changing the css and commenting it out and still nothing shows up. Is there anything else we can do?
F-ES Sitecore 10-Sep-15 11:19am    
There's *something* in the css affecting it to make it not show. The browser's dev tools can show you what styles are affecting an element.
Member 11974361 10-Sep-15 16:03pm    
Thanks again for getting back to me, I made the following changes to the code and pretty much removed all the CSS and I still receive nothing but in the design tab in Microsoft expression all of the boxes and buttons are there.

Here's the new code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<% @ Page Language="C#" %>
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Returns Received Report</title>
</head>


<body>


<div class="auto-style2">
 <body bgcolor="#C0C0C0"><p></p>
<div class="auto-style2">
<br />
<br />
<span class="auto-style1">Search for a Return<br/>
<br />
</span>
:
</div>


<form id="form1" runat="server">
<div class="auto-style4">
<asp:TextBox id="Customer" runat="server" Visible="true" Width="261px" Height="22px" BackColor="White" BorderColor="Black">
<asp:Button id="Button1" runat="server" Visible="true" PostBackUrl="Customer.aspx" Text="Search by Customer" BorderStyle="Outset" />
</div>

<br />
<br />
<asp:TextBox id="PO" runat="server" Visible="true" Width="261px" EnableViewState="True">
<asp:Button id="Button2" runat="server" Visible="true" PostBackUrl="Order Number.aspx" Text="Search by Order Number" BorderStyle="Outset" Width="181px" />
<br />
<br />
<asp:TextBox id="ADDRESS" runat="server" Visible="true" Width="261px">
<asp:Button id="Button3" runat="server" PostBackUrl="Street_Address.aspx" Text="Search by Street Address" BorderStyle="Outset" Width="181px" />
<br />
<p>
<asp:TextBox id="TrackingNumber" runat="server" Visible="true" Width="261px">
<asp:Button id="Button4" runat="server" PostBackUrl="TrackingNumber.aspx" Text="Search by Tracking Number" BorderStyle="Outset" Width="181px" />
</p>
<p>
<asp:TextBox id="VerifiedDate" runat="server" Visible="true" Width="261px" CssClass="auto-style3">
<asp:Button id="Button5" runat="server" PostBackUrl="TrackingNumber.aspx" Text="Search by Verified Date" BorderStyle="Outset" Width="181px" />
</p>

</div>
<p> </p>
</form>

</body>

</html>

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900