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
0
votes
2 answers

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…
David Adlington
  • 666
  • 4
  • 15
  • 27
0
votes
1 answer

How to generate breadcrumb to dynamic asp menu in Asp.net?

I have a dynamically generated menu (C#), like this: MenuItem(string text, string value, string imageUrl, string navigateUrl, string target) MenuItem AdminLevel1 = new MenuItem("Admin", "Admin"); MenuItem AdminPedidosRegisto = new…
Hahn86
  • 55
  • 1
  • 5
  • 17
0
votes
3 answers

How to disable click action in asp menu in asp.net

I have a dynamically generated menu (C#), like this: MenuItem(string text, string value, string imageUrl, string navigateUrl, string target) MenuItem AdminLevel1 = new MenuItem("Admin", "Admin"); MenuItem AdminPedidosRegisto = new…
Hahn86
  • 55
  • 1
  • 5
  • 17
0
votes
4 answers

How to set onClick event in ASP Menu MenuItem

I have a dynamically generated menu (C#), like this: MenuItem(string text, string value, string imageUrl, string navigateUrl, string target) MenuItem AdminLevel1 = new MenuItem("Admin", "Admin"); MenuItem AdminPedidosRegisto = new…
Hahn86
  • 55
  • 1
  • 5
  • 17
0
votes
1 answer

Is it in any way possible to get the asp:menu items separated in multiple-columns?

Is there any way to get the asp:menu items separated into multiple columns? I get the menu items from a System.Web.XmlSiteMapProvider and then "forward" them to a SiteMap to be used with the asp:menu. I need a menu structured like: Item1 Item5 Item9…
Sultanen
  • 3,084
  • 5
  • 25
  • 46
0
votes
2 answers

How to apply the style for selected menu item in ASP.NET 3.5?

I need to set the background for the currently active menu item? I have used these CSS: .DivLeftContent .selectedMenuItem:visited { background-color:#FBB2F7 ! important; } It is not…
Giri
  • 931
  • 11
  • 31
  • 51
0
votes
0 answers

Asp.Net Asp Menu changing the order of the selected item

I have an aspmenu in my site and I'm applying the "selected" atribute for the item who has the same url than the actual page so I can apply the StaticSelectedStyle to the item. The problem is that the selected item (or item group) on menu is always…
0
votes
2 answers

ASP Menu width not setting to 100%

I'm making a Vertical Navigation bar using Asp Menu. and I'm trying to set the Width to 100% but It remains as it is. Here is the Code i'm using.
Krishna Thota
  • 6,646
  • 14
  • 54
  • 79
0
votes
1 answer

ASP:Menu : Need to apply CSS to make bulleted lists

I am using ASP:Menu and I would like to have the menu shown as below. Please suggest how to apply the CSS and what changes should I make? Products Instock Out-of-Stock Orders Purchase Orders Sales Orders Back Orders Invoices ASP:Menu code is…
NewCoder
  • 99
  • 4
  • 13
0
votes
2 answers

SiteMap Globalisation not working

The below information is all about displaying the language in france. But its not displaying any data why? I tried lot of methods however no use. I tried lot of methods however no use. I tried lot of methods however no use.
Tony
  • 141
  • 4
  • 21
0
votes
1 answer

DIVS not validating when used in a custom ASP:Menu

My Code below is generated from a StaticItemTemplate in an ASP:Menu. The code and the link does as it pleases, however it fails validation. Output code is as follows
  • Welsh King
    • 3,178
    • 11
    • 38
    • 60
  • 0
    votes
    1 answer

    Displaying the child items of the current node in a static ASP:Menu

    I'm trying to build a vertical, static ASP Menu from the SiteMap file in which the child items for a node only display if they or their parent node are currently selected. For instance, say my SiteMap is: Item1 Item2 - Child2.1 - Child2.2 Item3 -…
    Eric Lowe
    • 3
    • 1
    • 4
    -1
    votes
    2 answers

    ASP.NET 4 Menu Control remove CSS

    I have this megamenu in jquery built in a list, but to databind it, I'm using the control. This specific list, I want to build in the menu control, but the menu control put its own css classes on the markup instead of mine. link to…
    Madde Persson
    • 413
    • 1
    • 6
    • 26
    -1
    votes
    3 answers

    How to display some stuff in the same page instead of redirecting to another page while clicking the submenu of asp:menu?

    I am using asp:menu. My aspx code is:
    I am generating the sub menu items (i.e) the…
    Xavier
    • 1,672
    • 5
    • 27
    • 46
    -1
    votes
    1 answer

    How to Display The NavigationUrl of Menu on div

    I have an ASP.net page designed like this as shown below: <%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="MyAccount.aspx.cs" Inherits="MyAccount" %>
    AMH
    • 6,363
    • 27
    • 84
    • 135
    1 2 3 4
    5