Click here to Skip to main content
15,902,635 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Problem with dynamic eventhandler Pin
S.Aijaz24-Jun-09 19:02
S.Aijaz24-Jun-09 19:02 
GeneralRe: Problem with dynamic eventhandler Pin
padmanabhan N24-Jun-09 19:09
padmanabhan N24-Jun-09 19:09 
Questioncookies in .net Pin
Member 387988124-Jun-09 18:24
Member 387988124-Jun-09 18:24 
AnswerRe: cookies in .net Pin
padmanabhan N24-Jun-09 18:37
padmanabhan N24-Jun-09 18:37 
GeneralRe: cookies in .net Pin
Jack Li24-Jun-09 18:44
Jack Li24-Jun-09 18:44 
GeneralRe: cookies in .net Pin
padmanabhan N24-Jun-09 18:58
padmanabhan N24-Jun-09 18:58 
GeneralRe: cookies in .net Pin
Member 387988124-Jun-09 19:05
Member 387988124-Jun-09 19:05 
QuestionASP menu not showing correctly on web page in some browsers. Pin
Steve Holdorf24-Jun-09 11:01
Steve Holdorf24-Jun-09 11:01 
I currently have a website using master content technology. The Master page has two menus but only one is shown at a time. The problem I am having is that when rendering on IE 8, some browsers show the menu centered correctly on the page and other IE 8 browsers show the main menu starting at the center of the page. Below is the markup for the master page. Does anyone have any Ideas what the problem is?

<%@	Master Language="C#" CodeFile="Default.master.cs" Inherits="Default_master"	%>
<%@ Import Namespace="System.Data.Odbc" %>  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head id="Head1" runat="server">
	<title>Hans Engineering</title>
	<link href="/White/NavButtons.css" type="text/css" rel="stylesheet"/> 
</head>
<body>
	<form id="form1" runat="server">
	    <asp:ScriptManager ID="ScriptManager1" runat="server">
	        <Scripts>
                <asp:ScriptReference Path="~/Scripts/AutoSave.js" />
                <asp:ScriptReference Path="~/Scripts/Main.js" />
                <asp:ScriptReference Path="~/scripts/Resources.js" />
            </Scripts> 
            <Services>
                <asp:ServiceReference Path="~/MessageBoardService.asmx" InlineScript="True" />
                <asp:ServiceReference Path="~/UserService.asmx" InlineScript="True" />
            </Services>          
           </asp:ScriptManager>
		<div style="width:789px; height:150px">
			<h1>Hans</h1>
			<h2>Engineering WebSite</h2>
			 &nbsp;&nbsp;&nbsp;&nbsp<div style="left:40%;position:absolute"> 
                <asp:Button ID="LinkButtonAjax" runat="server" 
			 Text="AJAX ONLY" onclick="LinkButtonAjax_Click"></asp:Button>&nbsp;&nbsp<asp:Button 
                    ID="LinkButtonASP" runat="server"
			 Text="STANDARD ASP" onclick="LinkButtonASP_Click"></asp:Button></div><br /><br /><br /><br /><br /><br /><br />
			<div style="position:absolute; margin-left:100px">
			<asp:menu id="menu" runat="server"   
				orientation="Horizontal"  
				maximumdynamicdisplaylevels="0" 
				skiplinktext=""  
				staticdisplaylevels="2"
				Width="95%" Font-Bold="true" Font-Size="Small" StaticMenuItemStyle-HorizontalPadding="35" >
				<Items>
				    <asp:MenuItem Text="Home" NavigateUrl="~/Default.aspx" />
                    <asp:MenuItem Text="Login" NavigateUrl="javascript:showLoginUser()" />
                    <asp:MenuItem Text="Register" NavigateUrl="~/Register.aspx" />
                    <asp:MenuItem Text="Discussions" NavigateUrl="~/Discussions.aspx" />
                    <asp:MenuItem Text="Forums" NavigateUrl="~/Forums.aspx" />
                    <asp:MenuItem Text="Administrative" />
                    <asp:MenuItem Text="Profile" NavigateUrl="~/UserProfile.aspx"/>
                    <asp:MenuItem Text="Help" />
                </Items>
				</asp:menu>
				</div>
				<div style="position:absolute; margin-left:100px">
				<asp:menu id="menuASP" runat="server" Visible="false"   
				orientation="Horizontal"  
				maximumdynamicdisplaylevels="0" 
				skiplinktext=""  
				staticdisplaylevels="2"
				Width="95%" Font-Bold="true" Font-Size="Small" StaticMenuItemStyle-HorizontalPadding="35" >
				<Items>
				    <asp:MenuItem Text="Home" NavigateUrl="~/DefaultASP.aspx" />
                    <asp:MenuItem Text="Discussions" NavigateUrl="~/DiscussionsASP.aspx" />
                    <asp:MenuItem Text="Forums" NavigateUrl="~/ForumsASP.aspx" />
                    <asp:MenuItem Text="Administrative" />
                    <asp:MenuItem Text="Profile" NavigateUrl="~/UserProfileASP.aspx"/>
                    <asp:MenuItem Text="Help" />
                </Items>
				</asp:menu>
				</div>
			    <div class="nav">
				&nbsp; | &nbsp;
				<asp:LoginStatus ID="LoginStatus1" Runat="server" />
			</div>
		</div>
		<asp:contentplaceholder id="Main" runat="server" />
		<div class="footerbg">
			<div class="footer">
				<asp:menu id="menub" runat="server" 
					orientation="Horizontal" 
					maximumdynamicdisplaylevels="0" 
					skiplinktext="" 
					staticdisplaylevels="2" />
				Copyright &copy; 2009 Hans Holdorf.
			</div>
		</div>
	</form>
</body>
</html>

AnswerRe: ASP menu not showing correctly on web page in some browsers. Pin
Christian Graus24-Jun-09 15:10
protectorChristian Graus24-Jun-09 15:10 
GeneralRe: ASP menu not showing correctly on web page in some browsers. Pin
Steve Holdorf24-Jun-09 16:00
Steve Holdorf24-Jun-09 16:00 
GeneralRe: ASP menu not showing correctly on web page in some browsers. Pin
Christian Graus24-Jun-09 16:18
protectorChristian Graus24-Jun-09 16:18 
AnswerRe: ASP menu not showing correctly on web page in some browsers. Pin
keyur satyadev24-Jun-09 19:01
keyur satyadev24-Jun-09 19:01 
QuestionI need help in an asp.net program for project.. plzzzzzzz help me out Pin
Ashwini.dg24-Jun-09 7:44
Ashwini.dg24-Jun-09 7:44 
AnswerRe: I need help in an asp.net program for project.. plzzzzzzz help me out Pin
led mike24-Jun-09 8:30
led mike24-Jun-09 8:30 
AnswerRe: I need help in an asp.net program for project.. plzzzzzzz help me out Pin
Abhijit Jana24-Jun-09 11:19
professionalAbhijit Jana24-Jun-09 11:19 
GeneralRe: I need help in an asp.net program for project.. plzzzzzzz help me out Pin
Jack Li24-Jun-09 17:18
Jack Li24-Jun-09 17:18 
QuestionPlease help with this line! Pin
Chris_Dev24-Jun-09 6:42
Chris_Dev24-Jun-09 6:42 
AnswerRe: Please help with this line! Pin
Manas Bhardwaj24-Jun-09 6:45
professionalManas Bhardwaj24-Jun-09 6:45 
GeneralRe: Please help with this line! Pin
Chris_Dev24-Jun-09 6:53
Chris_Dev24-Jun-09 6:53 
AnswerRe: Please help with this line! Pin
Colin Angus Mackay24-Jun-09 7:19
Colin Angus Mackay24-Jun-09 7:19 
AnswerRe: Please help with this line! Pin
Jack Li24-Jun-09 17:32
Jack Li24-Jun-09 17:32 
QuestionTransfering file from web service to c++ via named pipes Pin
Al_Pennyworth24-Jun-09 4:38
Al_Pennyworth24-Jun-09 4:38 
QuestionRe: Transfering file from web service to c++ via named pipes Pin
led mike24-Jun-09 4:45
led mike24-Jun-09 4:45 
AnswerRe: Transfering file from web service to c++ via named pipes Pin
Al_Pennyworth24-Jun-09 4:49
Al_Pennyworth24-Jun-09 4:49 
GeneralRe: Transfering file from web service to c++ via named pipes Pin
led mike24-Jun-09 5:07
led mike24-Jun-09 5:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.