Questions tagged [aspmenu]

The ASP.NET Menu control allows both statically and dynamically displayed menus for ASP.NET Web forms pages

The ASP.NET Menu control allows both statically and dynamically displayed menus for ASP.NET Web forms pages. Use this tag for questions on creating dynamic or static content for the display levels, Theming and responding to navigation events.

MSDN: Menu Control Overview

75 questions
1
vote
1 answer

How to configure multiple sitemaps with asp:menu control

It's driving me nuts. I've searched and tried and searched and tried ... now I ask for your help! I have an asp:menu control that uses a sitemap. Once the user is authenticated, I want to dynamically change the site map from code behind (c#). Here's…
Bob
  • 79
  • 3
  • 13
1
vote
2 answers

Asp.net Menu Control - Dynamic menus show on page load

I have an Asp.Net Menu control that displays across the top of our page. When the page is loaded, all the dymanic menus (the ones that fly out on mouseover) display until the page finishes loading, and then hide. Once the page finishes loading, they…
yougotiger
  • 434
  • 4
  • 18
1
vote
1 answer

Strange visual artifact in the ASP.NET menu with a Master page

I was wondering why am I getting this weird visual artifact? I have a web app ASP.NET project that is configured with a master page. The master page has the top menu like so:
ahmd0
  • 16,633
  • 33
  • 137
  • 233
1
vote
2 answers

IE8 Compatibility View breaks asp:menu

I need to have my ASP.NET web application support both 8 and prior versions of the IE browser. However, when I click the "broken page" button on my IE8 address bar to switch to Compatibilty View, menu background images are cropped, there is a…
Buggieboy
  • 4,636
  • 4
  • 55
  • 79
1
vote
1 answer

ASP.Net MenuItem formatting isn't being inherited by the child items

I'm building an ASP.Net 4.5 menu programmatically in C#. The top menu items are formatted to my liking, but the formatting isn't being inherited by the child items. The formatting I'm most concerned with are two things:…
Melanie
  • 3,021
  • 6
  • 38
  • 56
1
vote
1 answer

How to remove SiteMapNode from asp:MENU Control that defined in web.sitemap

I have navigation defined in web.sitemap and I want programmaticly disable some siteMapNode. How is it possible? For example I have next node: And I want disable node if it has roles="Admin" roleManager is set up like
Juri Bogdanov
  • 295
  • 1
  • 11
  • 19
1
vote
3 answers

How to align asp:Menu in DIV tag?

My CSS looks like this: #menu { width: 1024px; height: 25px; margin: 0 auto; text-align: right; background-color: Red; } My asp page looks like this, (in fragment):
Wodzu
  • 6,932
  • 10
  • 65
  • 105
1
vote
1 answer

Unable to remove menu item from Asp Menu

ASPX:
Ruby
  • 949
  • 7
  • 31
  • 68
1
vote
1 answer

Is it possible to assign an Id to an asp:MenuItem?

I have an asp:Menu which currently has 4 menuitems within it. I have been able to set the id for the menu as a whole but the hyperlinks for the menuitems are mostly the same. I would like to be able to identify each one using an Id or similar. Is…
Thomas
  • 27
  • 1
  • 6
1
vote
2 answers

ASP:MENU On click open submenu

I have the following ASP:Menu
drobison
  • 858
  • 1
  • 14
  • 23
1
vote
1 answer

CssClass is not working for my asp menu - all code attached

I copied and pasted the same exact css and asp code into another project and the CSS just will not take to the asp:menu control and I cannot figure it out. Also, when I view source the menu is creating its own style block. I made it easy to help,…
Taylor Brown
  • 1,689
  • 2
  • 17
  • 33
1
vote
0 answers

ASP Menu is not highlighting when providing Navigate to URL properties

I have one question regarding property in ASP.NET that when i am creating an ASP menu and provide StaticSelectedStyle it will highlight the previously selected menu item but, when i provide the NavigateUrl property, its not…
1
vote
1 answer

Closing ASP menu when moving mouse

I'm working with a project that has as ASP menu (), which I can't get to close. All I want it to do is to collapse when the mouse is not hovering it. Is there a setting or something to fix this? Maybe a simple problem but I've searched everywhere…
Vhendin
  • 61
  • 5
1
vote
0 answers

SiteMapNode Attributes - values being lost (SharePoint 2010)

OK - I've created a custom navigation provider that inherits PortalSiteMapProvider and I'm trying to extend my class via the GetChildNodes method (Simple example here). Essentially what I'm trying to do is add the current SPWeb's SiteLogoUrl string…