Web Forms :: Navigation Menu Control Horizontal - Multiline?
Jan 7, 2010
I've built a website with a Horizontal Menubar at the the top of the site, it works fine the only problem is now that i have added more items to the website map it has now grown wider than the site, so what i would like it to do is when it gets to a certain width drop down and start adding the node links underneath. i tried setting the width property of the <asp:menu> but this did not seem to do anything at all. I could obviously add a second menubar linking to another sitemap but i would like to be as dynamic as posssible. Plus the menu is baseed around the role structure so some users may only see 5 items where admins, supervisors etc may see around 30 level 1 menu items with multiple subitems. so in short how to i make the menu wrap round to the next line when a certain length is reached
View 3 Replies
Similar Messages:
Jul 5, 2010
I have a navigation menu down the left hand side of my page and I want to align the text horizontally to the left.
There doesnt seem to be any property for doing this or perhaps there is and im being a bit thick.
View 4 Replies
Aug 25, 2010
Iam using masterpage and i want to use navigation menu ,but i don't want to use sitemap concept
how to work with navigation menu and assign the pages in navigation menu in master page
View 2 Replies
Oct 2, 2010
For the ASP.NET Menu Server Control whose RenderMode is set to "List", there is an "Orientation" property which decides whether the menu would render as a horizontal or a vertical menu. I have compared the two HTML source code and was unable to find out which part of the HTML/CSS code set the orientation of the menu(unordered list).
View 2 Replies
May 19, 2010
I'm developing a Portal to a school
I need to login (ok)
I also need when the login is ok, to add some buttons to navigation menu, taht is created in the Master Page.
Is it possible?, how?
i already handle the page load on the default page.
View 3 Replies
Jul 10, 2010
I added a menu avigation control in my page and i did this:
<div style="background-color: Maroon">
<asp:Menu ID="Menu1" runat="server" Orientation="Horizontal" ForeColor="Black" Font-Bold="true"
BackColor="Chocolate">
<Items>
<asp:MenuItem Text="Home"></asp:MenuItem>
<asp:MenuItem Text="About Us"></asp:MenuItem>
<asp:MenuItem Text="Services"></asp:MenuItem>
<asp:MenuItem Text="Careers"></asp:MenuItem>
<asp:MenuItem Text="Contact Us"></asp:MenuItem>
</Items>
</asp:Menu>
</div>
but i cant give proper spacing between the menu items right now it is appearing like this: how to give proper spacing between the menu items them?
View 14 Replies
Jan 15, 2010
Am developing a application in asp.net 2.0.I need a horizontal menu which resembles like this site:http://www.microsoft.com/en/us/default.aspx
View 2 Replies
Feb 18, 2010
Using an ASP.NET 3.5 menu control set to horizontal, is there a way to specify that only a certain node of the menu displays? For example, let's say I have a vertical menu on the left side of the master page that is tied to a sitemap and displays these nodes. The submenus would be dynamic and only display when the root node is hovered.
Main Page
Second Page
Sub Menu 1
Page 1
Page 2
Page 3
Sub Menu 2
Page 1
Page 2
Page 3
A certain (powerful) group of my users will always be going straight to the pages in Sub Menu 1 and pretty much never touching the other pages. They would like a sub-master page that is based on the parent master page so that the primary vertical menu and the sitemappath are all still there but the sub-master page will contain a horizontal menu control that only displays the the Sub Menu 1 node, like this:
Sub Menu 1 Page 1 Page 2 Page 3
Is there a way to set up the menu control to start displaying at a certain node level so the parent nodes and sibling nodes aren't displayed or would this require maintaining a separate sitemap file? I hope this makes sense.
View 1 Replies
Feb 28, 2010
I am a student and .net freshers.I have been working on a website using asp.net and has used menu control in it.it has various sections like home,about us ,customer care and i have set navigate url for each menu parts and submenus .but it is not navigating to respective pages while it is opened in browser. I have seen sitemap usage and iE8 compatiblity articles does it needs to be done ...cant it workout just by setting navigate url in property of menu?
View 6 Replies
Mar 21, 2010
My menu control is in horizotal style and i want to show it's dynamic item also in horizontal style too, by default they are vertical. Plus the arrow(Static pop-out image) to be shown vertical rather horizotal which is by default. How to do that ?
View 3 Replies
May 26, 2010
How to get rid-off ToolTip showing when people hover over menu items in asp:menu navigation control? The ToolTip itself covers pop-out sub-menu and very irritating. ToolTip actually displays "description" from Web.sitemap. I thought to delete "description", but that would be nice to have for asp:SiteMapPath.
View 2 Replies
May 7, 2010
how can i make a mega dropdown menu using asp net navigation control
View 2 Replies
Jul 23, 2010
In classic ASP I would write some logic to get a nice menu on the site, but now with the Menu-control, it's as easy as it gets.. Maybe to easy. I can't quite figure out how I would do this.. I have a multilevel navigation structure (from a database) that I want to put into the Menu-control, but I don't know which approach is the best/easiest way for me..
I'm all into performance, usability and all that.. The only thing I have really decided is that I want to use the Menu-control, I haven't decided what datasource I should use or how to style the individual links my way The data is coming from a database and is not supposed to be changed very often (maybe once or twice every month).. Thought of making an XML-sitemap, but also of making some sort of SQL-hookup.. I'm leaning towards the XML-sitemap because it wouldn't take long to generate the XML every time the navigation changes and that won't happen very often. The next issue is styling, how to do that? I have the neccesary css ready for the individual links, but I'm still unsure of how to get it to the Menu-control.. The css I have looks like below and in its current form is intended just for the anchors
[Code]....
View 4 Replies
Oct 30, 2010
Had two questions about the ASP.NET menu control.
1) I have a menu control which is using a SiteMapDataSource. This is bound to a .sitemap file. I have the orientation property set to horizontal, but for some strange reason it still displays vertical. I can't for the life of me figure out why it's doing this. Am I doing something wrong here?
2) Is there a way to not display the root (Home) directory on my menu control? I only want to show Customer Support, Technician Support, Administration, and Site Map on the control.
[code]....
View 11 Replies
Nov 13, 2013
Is it possible for me to change from verticle to horizontal menu using vb 2005?
As for now I have this code and it working just fine.
<asp:LinkButton ID="home_lnk" runat="server" CssClass="linkLableName"
Font-Bold="True" Visible="true" Width="156px">Home</asp:LinkButton>
<asp:Menu ID="rootmenu" runat="server" CssClass="linkLableName" Width="156px" ForeColor="#ffffff" >
<DynamicHoverStyle CssClass="linkLableNameItem" />
<DynamicMenuStyle CssClass="linkLableNameItem" />
[Code] ....
I did make my menus turn to horizontal. But I have no clue how to put my home and sign out menu together in the menus. As it is separated because I am using linkbutton for both button.
View 1 Replies
May 7, 2015
I am following the article [URL] .....
but I am not able to see my links horizontally
Here is my site map file
<?xml version="1.0" encoding="utf-8"?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="~/default.aspx"
title="Home"
description=""
roles="*">
[Code] ....
The access to these links are controlled by membership provider.
Home is accessed by everyone. "Member Home" and MyBiz are accessed when the user is logged in.
The menu should have only Home displayed and when the user is logged in then it should displaym Home, MemberHome, MyBiz and sub links.
Here is the code for menu control
<asp:Menu ID="HorizontalMenuId" runat="server"
DataSourceID="SiteMapDataSource1" Orientation="Horizontal">
<LevelMenuItemStyles>
<asp:MenuItemStyle CssClass="main_menu" />
<asp:MenuItemStyle CssClass="level_menu" />
</LevelMenuItemStyles>
</asp:Menu>
View 1 Replies
Feb 23, 2010
i want to implement an accordion control to the left navigation menu. The Main title on left menu called Activities is standard so i have hard coded it. The subtitles I want to pull from the database , from the stored procedure "Activity_Get". however i am not able to achieve this because I get an error "DataSource 'sds2 ' for control 'accActivities' doesn't exist". The following is the aspx code.
<div>
<asp:ScriptManager
ID="asm"
runat="server"
/>
<div>
<table
cellpadding="0"
cellspacing="0"
width="100%"><tr>
<td
class="highlightstitle"
style="width:180px;height:500px"
valign="top">
<aj1:Accordion
ID="accLeftMenu"
runat="server"
SelectedIndex="-1"
HeaderCssClass="navlink3" HeaderSelectedCssClass="navlink2"
ContentCssClass="subnav"
AutoSize="None"
FadeTransitions="true" TransitionDuration="250"
FramesPerSecond="40"
RequireOpenedPane="false"
SuppressHeaderPostbacks="true">
<Panes>
<aj1:AccordionPane
ID="acpEdu"
runat="server"
>
<Header>...........
View 3 Replies
Jun 16, 2010
I'm using asp.net and css to style a master page with navigation at the top. I was hoping to add the login status control in as a menu item but it is not allowed. Can someone point me in the right direction? When I post my code on this forum do I have to include tags?
View 4 Replies
Sep 18, 2010
I'am coding on e-trade project with ASP.NET.I want to ASP.NET Menu control or HTML+CSS menus.I have a screen shot ; ![alt text][1]
or web site address here : [URL]
I want a menu like it.Horizontal and verticral menu
View 1 Replies
Feb 25, 2010
Is it possible to use SeparatorImageURL to display a small graphic centered between menuitems in a horizontal menu control?
View 1 Replies
Mar 3, 2010
I have a usercontrol with horizontal menu list items. I want my submenu items to auto size according to the longest submenu item width.It is working
as expected with my css code in firefox but not in IE. Im using IE 8.
Below i copied my codes, just copy css code in a file and name it NewCss.css. Then copy user-control, master page and default page in a test project and see the result appearing for me.
[Code]....
View 1 Replies
Jun 15, 2010
I am porting an ASP.NET 2.0 project to VS 2010 and ASP.NET 4.0. I have the asp.menu set up to go horizontally across the top of my master page. This works pretty good, but I have a couple of pages that take a long time to load a lot of data (that is another issue though). The problem that I am having is that when these slow pages load the menu is initially vertical and then switches to horizontal. This looks so bad that I had initially thought that it was displaying my sitemap page. I just want it to draw properly (horizontal) to begin with.
Also, the content page has a script manager with CDNenable set to true.
The menu is defined as:
<asp:Menu id="Menu3" runat="server" datasourceid="SiteMapDataSource1"
View 9 Replies
Mar 14, 2011
I am using VS 2010 and ASP.NET 4.0. I have the ASP:Menu in the top of my master page and it's orientation property is set to horizontally. I have a problem with some pages that take a long time to load data. The problem I am having is that when these slow pages load, the menu is initially vertical and then switches to horizontal after few seconds which doen't look good. I have tried to change Orientation in MenuItemDataBound but no difference.
View 3 Replies
Aug 20, 2010
I want to create a Horizontal menu, which will further contain dropdown menu.
View 6 Replies
Jan 27, 2010
I am having a menu control with the horizontal orientation.
when the number of the menuitems increases the menu control is extending.
how to display the menu items in the next line and avoid the extending of the menu control.
View 4 Replies