aspmenu

How can I get <asp:menu> working in Safari??

On the safari browser, the standard <asp:Menu> doesn't render well at all. How can this be fixed? ...

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 browser. I've tested it a few browsers, and they are all pretty similarly rendered, so I am only...

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 sources: HierarchicalDataSourceControl XmlDataSource SiteMapDataSource DataSourceControl SqlDataSource AccessDataSo...

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? ...

Custom dynamically created Menus producing some strange errors...

The background is I have a custom control that is a asp:Menu that is linked to an xmldatasource. The xmldatasource is created dynamically depending on the user privies. Here is the load event for the custom control: protected void Page_Load(object sender, EventArgs e) { string userId = (string)Session["userId"]; ...

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

Hello, I have an asp:Menu and it contains a top level menu item that points to http://www.abc.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 http://www.abc.com/one.aspx. Apparently, I can't do this, so I have been putting a ? at the end of the second url ...

Asp:Menu and Internet Explorer 8 Issue?

I installed Internet Explorer 8 and now the menu items under the top-level menu items are not being shown. The background is just white. If I check it it in IE6 or IE7, the menu items show up fine. Has anyone seen this? ...

ASP.NET horizontal menu with submenu appearing below, also horizontal

I've got a horizontal menu with UL/LI markup that I want to convert to an ASP:Menu in .net 3.5. I'd like choices in the submenu to be rendered in a horizontal menu below the main menu when the main menu option is clicked. I also want to: indicate which menu option is chosen by highlighting/bolding both the main menu and submenu, chec...

Change Width of Each Asp Menu Item

I would like to do something similar to the code in the link below (but other solutions are gratefully accepted), but instead of changing the background color for menu items, I would like to change the width. Specifically, I would like the first menuitem to have a width of 30 px and all other menuitems a width of 200 px. http://stackov...

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 fix? ...

Change the link on a sitemap based on if a user is logged in?

I have a sitemap that has a link for when a user is not logged in, but when they do login, the link should change, for example, nonmember.aspx should change to member.aspx. This sitemap is tied to an asp:menu. Does anyone know how to do this? ...

New window on ASP Menu click

I have a Intranet page that has a Site.map driven ASP Menu control that drives the entire site. For most of my pages pushing the user to a new content page within the current window is great. However for certain large reports there is simply not enough real estate to comfortably display the entire page. Is it possible when clicking ce...

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" %> <asp:menu id="myMenu" datasourceid="sitemap" runat="server"> <staticmenuitemstyle font-u...

ASP:Menü: complete Menu margin?

Hi guys, I have a ASP:Menü in vertical style. The MainItem is only 1 Button, deisgned by a Image (no text, pure image). The ChildItems are normal Text. Here is a very high zoomed screenshot: http://s2.imgimg.de/uploads/UnbenanntesBild661673a8png.png Now, beacuse of the image, the childItems look very... strange, because the ChilIte...

ASP.Net Menu: Black margin Space

Hi guys, I have a ASP:Menu in a ASP.Net Page. I created a SubItem-Space with a CSSClass and Margin-Left:3px;. This is because I have the MainItem as an Image and need it to be close. Now the margin-space is black... See here: http://s2.imgimg.de/uploads/UnbenanntesBild44df77fdpng.png Any Ideas how to solve? ...

How to make a row selectable in an asp:menu?

Hi guys, I want to have the complete row of my asp:menu selectable in the child items. At the moment, only the string element is selectable. I tried to google it, but found nothing. ...

How to align asp:Menu in DIV tag?

Hi guys. 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): <asp:Menu ID="mnuMainMenu" runat="server" BackColor="#F7F6F3" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="Medium" ...

Asp Menu: StaticPopOutImage on the left of StaticMenuItem

Hi I'm using a asp:Menu and I have a StaticItemTemplate and a styled StaticPopOutImage. But this image, by default, always is showed on the right of the item. There is a way to set the position of this image on the left? How is showed: Item < How I want to show: < Item Thanks, ...

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 <roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider" /> and Windows Authorization does not hav...