Web Forms :: Menu Control Not Working After Publishing?
Nov 2, 2010
So i've got a website i''ve been working on using the visual studio development server. When I published it to my web server, the menu control sub-items are not showing up in IE8. They do in firefox. They show in both just fine when working through visual studio.
My dev machine: studio 2008, windows 7 64bit
production server: server 2003 standard 32bit, iis6
Could it be a different version of the .net framework?
View 4 Replies
Similar Messages:
Dec 13, 2010
After months of work I thought I had finished with my web application using VS2008 with CSSFriendly menu. On publishing, the menu did not work and I got all sorts of errors. Deleting CSSFriendlyAdapters.browser in App_Browsers folder improved the layout but the menu was not rendered with css even though the html source shows thet are linked. On desperation, I changed the target Framework from 3.5 to 2.0 and then back to 3.5 with no avail.
View 5 Replies
Jul 26, 2010
I have a web app using validation control such requiredvalidator. When I run it from VS 2008 directly, it worked perfectly (validated the missing input). But the moment I published it to IIS, it does not validate it anymore..
View 2 Replies
Feb 25, 2010
I have been trying to get the ASP 2.0 menu control to work with IE 8, and although it seems to work on VS it does not display correctly in IE 8, but does work with Firefox 3.5.7. What happens is that the base part (or root) menu is displayed correctly. But, when I try and display the sub menus/items all I get is a solid color square where the sub menus/items should be. Anybody have any ideas on this? I am using VS 2005 pro on an XP Pro pc.
View 2 Replies
Nov 14, 2013
I have this code.
<asp:Menu ID="rootmenu" runat="server" CssClass="linkLableName" Width="156px"
ForeColor="#ffffff" Orientation="horizontal" StaticMenuItemStyle-CssClass="menuItem"
DynamicMenuItemStyle-CssClass="menuItem" OnMenuItemClick="rootmenu_MenuItemClick">
<Items>
<asp:MenuItem Value="Home" NavigateUrl="~/Main/MainPage.aspx" /> </Items>
[Code] ....
But I cant get it work....
View 1 Replies
Mar 18, 2010
I have taken menu control to display pages on my project. it is working fine in mozilla bu not in safari and internet explorer.
In safari Even sub menu items are not coming. it is displaying like this.
T-Shirts Expand <b>T-Shirts</b> Caps Expand
<b>Caps</b> Bags Expand
<b>Bags</b> Neck
Ties Expand <b>Neck Ties</b> Gift
Items Expand <b>Gift Items</b> in Safari.
In Internet explorer sub menu items are not coming.
View 2 Replies
Jul 1, 2010
I'm using the new version of ajax control toolit - 40412. Installed it due to the previous version having problems with modal popup extenders inside update panels. I Installed the new version and found it worked fine as soon as I change my scripmanager to ToolkitScriptManager, However, I recentlly realised that now my sites hovermenus do not work in IIS6 (maybe 7 too) Ive tried in firefox and IE and the same. I changed from <asp:ToolkitScriptManager> to the old <asp:ScriptManager> and they work but I need the toolkitScriptManager cause of some new controls I have used will use need it. This is all implmented in my masterPage for the site so I will post the code (there is nothing in the code behind)
[Code]....
It all runs fine when I run as project from Visual Studio.
View 4 Replies
Jul 5, 2010
my application not working when I publish (only files needed to run this application) it to the server. I set wildcard mapping in IIS. I'm getting the error below:
HTTP Error 404.4 - Not Found
The resource you are looking for does not have a handler associated with it.
View 2 Replies
Mar 2, 2012
In the page element of my Style sheet, I have the width set to 1100 pixels. In VS, it works perfectly. When I debug it, no problem. But when I publish it to IIS, it reverts back to the default... 960 I think.
CSS Code:
.page{ width: 1100px; background-color: #fff; margin: 20px auto 0px auto; border: 1px solid #496077;}
View 3 Replies
May 2, 2010
I'm looking for a good jQuery or CSS, or combo, library to enance my left side menu in an an intranet application. I don't like the 'hover only' expand/collapse style of the ASP.NET Menu control on its own, and I don't like the 'icon-click only' expand/collapse style of the TreeView control on its own.
I plan on trying the CSS Control Adapters, to render the menu with some self-respect, i.e. as nested <ul> or <ol> elements instead of the usual orgy of tables. Beyond that, I need something to give a bit of style and menulike behaviour to these nested lists, and I would prefer a jQuery plugin for this. Which should I use?
View 3 Replies
Aug 16, 2010
Login not working after publishing asp.net website
I am used default login control, form based authentication and default sqlmembership provider.but in local my site working fine,when i publish it locally in iis means,the login is not working , i don't know what is the reason?
View 3 Replies
Apr 5, 2010
Is there a way to add/delete/update the default classes (for instance AspNet-Menu-WithChildren,AspNet-Menu-NonLink ) of the html generated by the asp.net menu or treeview control? I am using CSSAdapters so the menu control renders in a list format instead of table format.
View 1 Replies
Feb 3, 2011
Currently I have a menu control on my webform in ASP.Net 4.0 :
<div class="PNMenu">
<asp:SiteMapDataSource ID="PNSiteMap" runat="server" ShowStartingNode="false" />
<asp:Menu ID="PNMainMenu" runat="server" DataSourceID="PNSiteMap" RenderingMode="List" Orientation="Horizontal" CssClass="PN-PrimaryNavMenu" >
</asp:Menu>
</div>
I am trying to style the menu control to allow the menu items to float to the right of the container, however I am unable to do so as whenever I am styling the a, ul or li it keeps getting overidded by asp.net and floats everything left.
.PNMenu
{
clear:both;
[code]...
View 5 Replies
Jul 15, 2013
i have a asp menu in master page and it is populated from database.
i want if user click a link that menu link's background color should change how to do?
View 1 Replies
Apr 8, 2013
What I want is to show menu items Administrator or show user menu items.Show menu items using login...How I can do it with role provider, control menu and siteMap in masterpage?
View 1 Replies
Mar 17, 2010
We have to develop an application which has a Vertical left pane menu control which displays all the web pages (A,B,C say). Now if user is in page A and filled some data and clicks on menu control to go to page B, all the data in page A needs to be saved. Also if all the required field in page A are not filled and user navigated to page B, there will be one ! sign after the menu so that user can understand that there some some more fields need to be filled up.
We are planning to place the menu control in the Mater page. Please give me some direction to do this. My question is:
1. If user change menu (In Master Page), how should we save data?
2. How should we display the ! in the menu control?
View 2 Replies
Sep 2, 2010
I am doing a rework on one of my sites and I am attempting to use the asp:menu control.
I am using images in the static and dynamic menus. Hard coded at this point.
On my local machine it works fine but when I upload to the server, the image on the dynamci menus do not appear.
Instead I just get white space where the images should be.
Here is the code:
[code]
View 2 Replies
Jul 28, 2010
I know that the code depicted below will not work but I am including it to convey the idea of what I wish to accomplish. I want to use a different SiteMap to construct the menu on the displayed page for each of three different classes of service (COS).
I set a session variable named "COS" at the login and want to test its value prior to rendering each page. I want to display a menu based upon the appropriate COS. Here is my first stab at it but I know that I cannot include <asp:...> controls within the "case" statements. Can anyone suggest methods of doing this? I know C# and can use that but I do not know how to select the proper sitemap within the <menu> control. I am also using a CSS in my production version.
[Code]....
View 2 Replies
May 7, 2015
Sitemap & Menu:
<asp:SiteMapDataSource ID="Menu" runat="server" ShowStartingNode="false" />
<asp:Menu ID="Menu1" runat="server" Orientation="Horizontal" OnMenuItemDataBound="OnMenuItemDataBound" DataSourceID="Menu" >
<LevelMenuItemStyles>
<asp:MenuItemStyle CssClass="Menu" />
<asp:MenuItemStyle CssClass="Level" />
</LevelMenuItemStyles>
</asp:Menu>
<siteMapNode url="javascript:Logout" title="Logout" description="Logout" roles="*">
<siteMapNode title="Logout" description="Logout"></siteMapNode>
</siteMapNode>
I want OnClick event instead of navigation .
View 1 Replies
Jan 10, 2011
I am using frames in my webpage.in one of the frames i have a menu control whose items are database driven.when click on the menu item, i want another page to be displayed in other frame.
now i want to pass the the selected menu item text to the other page using session variable which is in the menu item click event method.but the thing is when i click on the menu item, the click event is not firing.
is there any better way to pass the selected menu item text to the other page?
View 1 Replies
Feb 28, 2010
I am trying to implement dropline menu using asp.net menu control. I found JQuery dropline code @ Dynamic Drive & currently using CssFriendly Adapters to get neet CSS, but i am unable to implement it as menu control renders its own css names.
View 1 Replies
Apr 15, 2010
I am working with asp.net 2.0 I have 1 problem Regarding Menu Control I used menu control in Master page. Now I have to find out Menu Item from Menu control depending on Condition. how to do that on server and Client side.
My code:
<asp:Menu runat="server" Orientation="Horizontal">
<StaticMenuItemStyle CssClass="jobTabNormal" />
<StaticSelectedStyle CssClass="jobTabSelected" />
<DynamicHoverStyle CssClass="jobTabHover" Font-Bold="true" />
<DynamicMenuStyle />
<DynamicSelectedStyle CssClass="jobTabDynamicSelected" />
<Items>
<asp:MenuItem Text="Job Details" Selected="true" NavigateUrl="#" Enabled="true">
</asp:MenuItem>
<asp:MenuItem Text="Cargos" Enabled="false" NavigateUrl="~/Pages/cargoDetails.aspx">
</asp:MenuItem>.......
View 3 Replies
Jun 22, 2012
how to align the menu bar with proper space
View 1 Replies
Aug 17, 2010
How to use pop up menu (instant of Menu control)? can you give me some instruction.
View 2 Replies
Jan 13, 2010
When I implement Custom web control inheriting ASP.NET Menu Ajax is not working. I try to Override Render method and generate Li's rather than table.I try to use Control Adapters, but when I am not using adapters for some pages ithe base adapter is generating just hyperlinks with span. I do not want this way. So I can not use these.
View 1 Replies