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
12
votes
4 answers

Can you have 2 url's that point to the same page in an asp:Menu control?

I have an asp:Menu and it contains a top level menu item that points to http://www.example.com/one.aspx. When you hover over the top level menu item, it shows a dropdown and one of the selections is One which points to…
Xaisoft
  • 45,655
  • 87
  • 279
  • 432
10
votes
1 answer

ASPMenu in Safari 7.1 Not Rendering Properly in SharePoint 2010

Has anyone else encountered an issue with the newest release of Safari 7.1 on Mac and iOS8 that breaks an ASPMenu control within SharePoint 2010? The ASPMenu worked fine before hand, but now after the update it has decided to render the contents…
Nick Steenstra
  • 361
  • 2
  • 9
8
votes
9 answers

asp.net menu control not rending correctly in safari

The site I'm working on is using a Databound asp:Menu control. When sending 1 menu item it renders HTML that is absolutely correct in Firefox (and IE), but really messed up code in Safari and Chrome. Below is the code that was sent to each…
stephenbayer
  • 12,373
  • 15
  • 63
  • 98
5
votes
2 answers

ASP.NET 2.0: How to bind an asp:Menu to an SqlDataSource?

i've found how to bind an asp:Menu to XML. i've found how to bind an asp:Menu to a site map (which is really binding it to XML). How do you bind an asp:Menu to a database? The .NET Framework provides multiple data…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
4
votes
3 answers

horizontal asp.net menu displaying as a vertical list

http://i44.tinypic.com/5ureav.png When my pages render occasionally the horizontal menu displays like that. Why?
Lucretius
  • 1,053
  • 1
  • 13
  • 26
4
votes
1 answer

PathSeparator is not rendering in asp menu control

PathSeparator is not rendering in asp menu control, below is my code
Jith
  • 1,701
  • 3
  • 16
  • 22
4
votes
2 answers

Tweaking ASP.NET Menu control like a mega dropdown

Platform: Website development on ASP.NET 4.0(Webforms) with C#. Situation: My rendered ASP.NET Menu control is horizontal and has three levels of data. And I have set StaticDisplayLevels="1" so that the menu shows Level1 data horizontally and…
naveen
  • 53,448
  • 46
  • 161
  • 251
3
votes
3 answers

ASP.NET Menu control changing position after postback

I am currently testing a menu in ASP.NET I've recently made using asp:menu control. The menu is just as I want it to be right now, but whenever there is a postback that updates the whole page, it moves a little downwards (only once, a second…
Marcelo
  • 3,371
  • 10
  • 45
  • 76
3
votes
1 answer

How to render two menus on same page?

I'm working on a site that will have a primary and secondary navigation that I'd like to generate using ASP.NET's Menu controls. Both will be based on the web.sitemap - the primary from the root, and the secondary will be a section of nodes…
steve
  • 576
  • 1
  • 5
  • 12
3
votes
1 answer

StaticMenuItemStyle vs. StaticSelectedStyle - Does one overwrite the other?

I am building a custom asp:menu control in ASP.NET using C# code behind. It is based on the sitemap to my website. Here's the basics of the menu: <%@ Control language="C#" autoeventwireup="true" codefile="Control.ascs.cs" inherits="menuClass"…
TahoeWolverine
  • 1,749
  • 2
  • 23
  • 31
2
votes
3 answers

Anyone have a workaround for the aspnet menu control not rendering properly in ie8?

I am programming asp.net in C# using vs2008. My app runs fine in ie7, but the drop down menu does not render in ie8. A white rectangle shows up instead of the menu items. I checked viewsource and the html for the menu looks good. Anyone have a…
Lill Lansey
  • 4,775
  • 13
  • 55
  • 77
2
votes
1 answer

Turn off link on menu items without URLs

I am building a menu for my asp.net application using the Menu control which is in turn being fed by a table via a Hierarchical data object. It works great, except that I cannot figure out how to configure the Menu control to disallow clicking on…
user770294
  • 21
  • 1
  • 3
2
votes
1 answer

Difference between these WebKit ASP:Menu fixes

I know there are a ton of posts on the ASP:Menu vs. WebKit issue in general, but I cannot find one that answers my question. I frequently see people recommending two different methods to fix the problem with ASP:Menus in Apple WebKit browsers (i.e.,…
Devin Burke
  • 13,642
  • 12
  • 55
  • 82
2
votes
3 answers

Asp.Net Horizontal Submenu

How do I create an asp:Menu that has a horizontal submenu rather then a vertical one while keeping the top menu horizontal?
user34281
  • 21
  • 1
  • 2
2
votes
2 answers

Should asp menu items be bound for every page request

The asp menu control is in the master page. Its datasource is a web.sitemap file. This file has all the items/Pages declared as nodes, initially. I have written this code to remove the items from the menu based on the user permissions, after user…
Ruby
  • 949
  • 7
  • 31
  • 68
1
2 3 4 5