Questions tagged [aspmenu-control]
42 questions
0
votes
1 answer
How to add a class to locked pages in asp:Menu
I am binding a web.sitemap to an asp:Menu, and want to assign classes to the menu items that require a login to access.
I know that in the siteMap section of the web.config file, if I set securityTrimmingEnabled="true" that it will only show items…

tedski
- 2,271
- 3
- 27
- 48
0
votes
1 answer
Menu control in Master page wont display throughout the site
I have a very weird/interesting thing that is happening on one of my ASP.NET Web Forms projects. I have created a master page and formatted the layout using CSS. In this layout I've included a Menu navigation control using the Web.config file as the…

spoof3r
- 607
- 8
- 23
0
votes
1 answer
Why does the asp.net 4 menu control add CSS CDATA to the HTML on page rendering?
I'm running my company site through http://analyze.websiteoptimization.com trying to speed it up, and drop unwanted weight. I was looking through my HTML source code of a rendered page, and noticed that the ASP.net Menu control has added CSS…

tutts
- 2,373
- 2
- 20
- 24
0
votes
1 answer
ASP.NET Menu Caching?
I am currently adding functionality in a website that uses the Menu web control.
Within the website there are different roles which require a different set of navigation options to appear depending on that role, to complete this task I have added a…

RJF
- 141
- 1
- 3
- 12
0
votes
1 answer
How to make menu's second level static
I am using an asp:menu control to display a menu. It uses a SiteMapDataSource for it's data.
I would like to see make the top two level static and the other levels appear if the mouse hover's over them.
Here is the code.

Varun Dave
- 179
- 1
- 2
- 12
0
votes
2 answers
Why arent the "selected" classes not being set for ASP Menu control?
I'm a frontend developer working with a seemingly incompetant .NET dev that cant seem to resolve why the ASP Menu control is not showing the selected menu item. The .NET developer sent me the following code. Is there some rules missing here that are…

experimenter
- 768
- 1
- 9
- 30
0
votes
1 answer
Applying Css Style to Asp:Menu MenuItem
I'm essentially creating a vertical breadcrumb to create a website navigation for a mobile (iphone) website. Similar to maybe how http://news.bbc.co.uk/sport1/hi/football/default.stm works as you click into "Premier League"
Using the Asp:Menu…

asn1981
- 237
- 1
- 7
- 20
0
votes
1 answer
ASP:Menu not shown correctly in IE10 and IE11, but looks aliright in Chrome, FF and till IE9
I am using a asp:Menu control to create a tabbed navigation. The project was created in .Net 4.0.
The following is used to create tabs:

Dhruv Sangvikar
- 393
- 1
- 7
- 22
0
votes
1 answer
user validation doesnt work after OnMenuItemClick event
I have a web form which includes 2 different panels in .net 2008. .net framework version is 3.5. Each panel includes user input controls like textbox, dropdownlist. I have an asp menu control for navigation. First item is selected at the beginning.…

Uğur
- 11
- 1
- 2
0
votes
2 answers
asp:Menu Not working on webhost
I'm using Visual Studio Web Express 2008 to develop an ASP.Net website. I have a master page that every page inherits from and on that master page I have the asp:menu control. On my local machine the menu control works just fine. The javascript is…
user134363
0
votes
1 answer
ASP Menu rendering outside of it's container div
I'm preparing to demo my client's system, but all my work thus far has been on my development and test environments and has all gone very smoothly. Setting the system up on a new environment for the demo has - for some reason I can't explain -…

Ortund
- 8,095
- 18
- 71
- 139
0
votes
1 answer
Custom Server Control: Inherited from Menu class, how and exactly what to render
I built a custom control for all my applications that would render menu taking name of the respective application and logged in user roles and render the menus accordingly. I am using an already written javascript for rendering menu that is loaded…

Taha Rehman Siddiqui
- 2,441
- 5
- 32
- 58
0
votes
0 answers
Adding css class to asp:menu programatically
I have a menu with data source as sitemap. Which is working fine. I need to add few option based on contents. First, if external link, add "Target=_blank" and add a second css class, which will show a popup message for warning. So I added…

Zia
- 7
- 1
- 4
0
votes
1 answer
ASP.NET 4.0 control rendering in 3.5 style on IIS6
I am using an ASP.NET menu control in a website that is configured to use .NET 4.0 in IIS. On my development machine with IIS 7.5, the menu control is rendered using CSS styles, as is the expected behavior for ASP.NET 4.0 and up.
However, on an IIS…

chris4600
- 183
- 9