Tracking Forums, Newsgroups, Maling Lists
Home Submit Tracker Forums
  Advanced Search


How To Increase The Space Between Menu Items

I want to increase the space between Menu Items?-


What the above Properties means?I also want to apply CSS to my menu for designing purpose?

My output is coming in the folllowing way(first image) I want the output desired(second image)

View 2 Replies (Posted: Dec 1st, 2009, 12:33 PM)

Sponsored Links:

Related Forum Messages For ASP.NET category:
Web Forms :: Get More Space Between Menu Items?
I have a menu and it looks like this:

About us Products Support Downloads Contact

but I want it to look like this:

About us      Products      Support    Downloads    Contact

I have been messing with some of the properties but can not figure out which one is the right one.


Posted: Sep 04, 2009 10:50 PM

View 5 Replies!   View Related
How To Evenly Space The Main Menu Items
I'm using the ASP.Net Menu control for the first time and cannot figure out how to evenly space the main menu items. Do I use styles and if so, what attributes do I use for the Menu Control?

Posted: Oct 31st, 2009, 11:35 PM

View 1 Replies!   View Related
Web Forms :: Modify Space Between Items In Menu?
Im new at this, and i want to create a site on Expression Web, i cant modify neither the space between the items or the color of them.

Posted: Dec 18, 2009 04:18 PM

View 1 Replies!   View Related
Web Forms :: Child Menu Items Not Showing (just White Space)
I have a VS2008 project with a Master Page...

I have added Menu controls to several of the COntent Pages and all work well.... EXCEPT for the one which has Child items.  The child items are just showing up as a white space (which I am unable to click on).

I have have changed the colors etc for each of the menu controls... Dynamic, Static, and Level controls and still the child menut items are just a white area? I saw this fix on MS's site and added it but it doesn't sovle my issue.  I also added it to the MasterPage to no avail.



Here is the code from the SiteMap...


Posted: Oct 22, 2009 10:20 PM

View 1 Replies!   View Related
Web Forms :: Menu Image Length Increase On Website Increase?
i am working on my master site, and i want to add an image that increases its lenght as the website's length increases...

but im not sure how to do that, i know it's possible because i've seen it done on banners, but im not completely sure how to do it.

Posted: Jul 27, 2010 03:49 PM

View 3 Replies!   View Related
Web Forms :: Menu Hover Over Shows For Disabled Menu Items Which Have Sub-items?
I have a Menu control with Static Items. 

The Enabled state of the items is set in the Page_Load Event.

For Menu items which have a sub-items the hover over indicator still highlights the entry, even though the parent item and child items have been disabled.  No such problem if there isn't a sub-item.

How do I make sure that the 'Hover Over' highlighting does not occur for these particular items?

Posted: Sep 08, 2009 08:15 PM

View 3 Replies!   View Related
Forms Data Controls :: Listview Increase Space Between Columns
I know this might be a trivial question but I can't find how to do it...

I want to increase the space between the columns, there barely is any space, the columns are just very near each other...

Posted: Jan 09, 2011 10:33 PM

View 2 Replies!   View Related
Web Forms :: Sub Menu Items Displayed Along With Parent Menu Items?
I am using the .net 2.0 menu control. The sub menus are displayed along with the parent menu controls. When I hover over parent menu item, it is displaying all the sub menu items which is fine but I dont know why it displays all the submenus first itself.

aspx page:

<asp:Menu ID="testmenu" runat="server" Orientation="Vertical" ></asp:Menu>
protected void Page_Load(object sender, EventArgs e)


Posted: Dec 20, 2009 01:18 AM

View 1 Replies!   View Related
ListBox Items Increase When Postback?
I made a web part use ASP.NET. There are a listbox and two buttons on it. When you click the Button A, it would add a new item into the listbox.When clicking the Button B, it would postback the list items data. But when you click the button B, the number of listbox number becomes twice.

Posted: Jan 27 10 at 9:24

View 2 Replies!   View Related
Web Forms :: Style The Menu Control To Allow The Menu Items To Float To The Right Of The Container?
Currently I have a menu control on my webform in ASP.Net 4.0 :

<div class="PNMenu">
<asp:SiteMapDataSource ID="PNSiteMap" runat="server" ShowStartingNode="false" />
<asp:Menu ID="PNMainMenu" runat="server" DataSourceID="PNSiteMap" RenderingMode="List" Orientation="Horizontal" CssClass="PN-PrimaryNavMenu" >

I am trying to style the menu control to allow the menu items to float to the right of the container, however I am unable to do so as whenever I am styling the a, ul or li it keeps getting overidded by and floats everything left.



Posted: Feb 03, 2011 04:21 AM

View 5 Replies!   View Related
AJAX :: Menu Control With Dynamic Url / Set The Menu Items As Enable/disable In Two Different Modes Say Edit/new?
I need a help in creating a vertical oriented Menu control with dynamic url's set in there Navigate Url property.Also i need to set the menu items as enable/disable in two different modes say edit/new.


Posted: Feb 22, 2010 09:30 AM

View 1 Replies!   View Related
VS 2008 - Menu Navigation Control - Spacing Between Menu Items
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"
<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>

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?

Posted: Jul 10th, 2010, 07:09 AM

View 14 Replies!   View Related
C# - Menu Displaying Different Menu Items Depending On Access Level
I'm trying to create an asp menu for a website. The site will have 2 levels of user Master users (which will have more options) and Sub users which will have limited menu options.

I was wonder does anyone knows if a way to hide menu items? I've tried google but I can't really find much.

Here's the Asp code


I have worked out how to hide the whole menu when the user is not logged in

MainMenu.Visible = false

Posted: Jul 9 10 at 14:07

View 1 Replies!   View Related
Web Forms :: Run The Website, The Menu Wont Open The Sub-items Menu?
i'm working with visual studio 2008 c#i'm using Menu and i added items . the first item has like sub-items when i run the website, the Menu wont open the sub-items menu ... this is the code :

<li style="direction: rtl">                     <asp:Menu ID="Menu2" runat="server" BackColor="WhiteSmoke" BorderColor="White"    ForeColor="#6699FF"                                Font-Bold="True" Height="361px" Style="left: 2px; position: relative; top: -9px;                            background-color: #ffffff" Width="194px">                            <Items>                                <asp:MenuItem
NavigateUrl="~/CourseSignUp.aspx" Text="קורסי גלישה" Value="קורסי גלישה">                                    <asp:MenuItem Text="קורס ילדים עד גיל 18" Value="קורס ילדים עד גיל 18">                                        <asp:MenuItem Text="קורסים בקיץ" Value="קורסים בקיץ" NavigateUrl="~/CourseSignUp.aspx"></asp:MenuItem>                                        <asp:MenuItem Text="קורס ימי שישי" Value="קורס ימי שישי"></asp:MenuItem>                                        <asp:MenuItem Text="קורסים בחגים" Value="קורסים בחגים"></asp:MenuItem>                                    </asp:MenuItem>                                   <asp:MenuItem Text="קורס מבוגרים" Value="קורס מבוגרים">                                        <asp:MenuItem Text="קורס ימי שישי" Value="קורס ימי שישי"></asp:MenuItem>                                    </asp:MenuItem>                                </asp:MenuItem>                                <asp:MenuItem Text="שיעורים פרטיים" Value="New Item">                                </asp:MenuItem>                                <asp:MenuItem NavigateUrl="~/Rents.aspx" Text="השכרות" Value="Rents"></asp:MenuItem>                                <asp:MenuItem Text="מידע לגולש המתחיל" Value="New Item"></asp:MenuItem>                                <asp:MenuItem Text="לינקים" Value="New Item"></asp:MenuItem>                                <asp:MenuItem Text="תחזיות" Value="New Item" NavigateUrl="~/Forecasts.aspx"></asp:MenuItem>                                <asp:MenuItem Text="מאמרים" Value="New Item"></asp:MenuItem>                                <asp:MenuItem Text="הסטורית גלישה" Value="New Item"></asp:MenuItem>                            </Items>                        </asp:Menu>                    </li>

Posted: Jan 28, 2010 06:56 AM

View 3 Replies!   View Related
Web Forms :: How To Visible / Invisible The Menu & Menu Items
I'm creating the dynamic menu, populating from the database, but i need the menu items displayed by User Level,

- Item 1
- Item 2
- Item 3
- Item 4
Dynamic Menu
- Item 5 (from db)

here the admin menu need to hide (just invisible) from the user, i used this

MainMenu1.Items.Remove(MainMenu1.Items(0)) , i dn't want to use the Enabled property; but  when i add the dynamic menu 

MainMenu1.Items(1).ChildItems(1).ChildItems.AddAt(0, item)

i'm getting the negative index error, i know because Menu(0) is not there; even i try

MainMenu1.FindItem("myMenu").ChildItems(1).ChildItems.AddAt(0, item)...

Posted: Nov 23, 2009 09:20 AM

View 3 Replies!   View Related
Menu Control Is Not Displaying Sub Menu Items.
my menu control is not displaying my sub menu items. If I hover over a main menu item, the background to the dropdown menu appers (white in color) but no text or links are displayed. Can anyone see an issue with my code?


<asp:XmlDataSource ID="xmlDs" runat="server" TransformFile="Transform.xsl" XPath="MenuItems/MenuItem">
<asp:Menu ID="mnuTop" runat="server" Orientation="Horizontal" DataSourceID="xmlDs">

Server Side Code:

Private Sub GetMenu()
Dim myDs As New DataSet
Dim myConn As New Communications.Comm(DataBaseName.Lustra)
Dim mySql As String = vbNullString

Posted: Sep 22nd, 2009, 02:00 PM

View 11 Replies!   View Related
Web Forms :: Menu And Menu Items For Navigation?
I'm using 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?

Posted: Jun 16, 2010 03:21 PM

View 4 Replies!   View Related
Vertical MenuBar, Changing Popup Vertical List Of Child Items To Display Under Top Level Menu Items?
How do I enable a vertical MenuBar(VS2008) to display child items directly under toplevel menu items on hover or click instead of as a dynamic popup to the right? I'm populating menu and child items from a database rather than hardcoding and I'm using CSS.

Posted: May 25, 2009 07:14 AM

View 1 Replies!   View Related
Web Forms :: Menu Control - Remove The Extra White Space So That The Notes Will Be Left Aligned?
I am working on a menu control ( vertical) with the following structure. I was able to get the data to display however my level two data are being dentted . was wondering how can one remove the extra white space so that the notes will be left aligned.and also I was wondering where one can find some good CSS style sheets for the menu control.

Books > Finance
DVD      Marketing
Car       Management

Posted: Aug 21, 2009 05:59 PM

View 1 Replies!   View Related
SQL Server :: Truncate, Find The Last Space, Remove Any Characters After That Space, Then Add Some Full Stopseg?
i'm writing a stored proc and if a field i return is longer then 200 characters, i want to truncate, find the last space, remove any characters after that space, then add some full stopseg:

INSERT INTO @rec(articleid, abstract)


Posted: Feb 10, 2011 12:34 AM

View 4 Replies!   View Related
How To Load The Menu Items From The DataBase
I want to build a menu something like shown in the below url.

I need to load the menu items from the DataBase....

Dynamically i want to change it.... Any possiblities...?


or any other way to have an accordionmenu from the database...

Posted: Sep 6th, 2010, 08:05 AM

View 17 Replies!   View Related
How To Delay The Showing Of Sub Menu Items
I am using menu control, how can I delay the showing of sub menu items ?

The menu is handled by Menu_HoverDynamic javascript function. I am trying to settimeout this function. But the problem is the sub menu are shown and the root menu is getting hidden ?


Posted: Aug 3rd, 2010, 01:05 AM

View 9 Replies!   View Related
CSS - How To Give Style To Menu Items

<div class="navheader">
<ul class="navuseraccess">
<li><a runat="server" id="mnuAccount" href="AccountSettings.aspx">My Account</a></li>



What I'm trying to do is add a new listitem-anchor but want it to display beneath the existing one, and not next to it. So I'm guessing I'm going to have to move the existing one up a bit, then add a new one beneath it.

Posted: Nov 3 10 at 22:48

View 1 Replies!   View Related
Menu Items Displayed In ASPxPopupMenu
How do I make the menu items displayed in an ASPxPopupMenu dynamic based on the node right-clicked in an ASPxTreeList?

Posted: Mar 11 at 22:47

View 2 Replies!   View Related
Web Forms :: How To Disable Menu Items
I am working in ASP Dot net using C#.

1-- I am using the default Menu control to display a menu, How can i disable some particular menu items at runtime?

I have designed menu items in a sitemap file.

2-- I have 3 different logins, for each login some particular menu item should be disabled, where and how can i set the items to be disabled?

Posted: Dec 05, 2006 06:44 AM

View 6 Replies!   View Related
Web Forms :: How To Hide Menu Items
How can I hide some items in my menu if you are just a user & only appears if you log in as administrator? I would like to hide the siteadmin. Below is the code:


Posted: May 11, 2010 03:40 PM

View 7 Replies!   View Related
Web Forms :: How To Find Sub Menu Items
How can i find sub sub menu items in code behind? This below code is working fine for main menu items but not for sub menu items. And if there are 2 sub menu items are same name how can i find?

Dim  mAuthorizations As MenuItem = HorizontalMenu.FindItem("Authorizations")
mAuthorizations.Enabled =False

Posted: Nov 02, 2009 02:44 PM

View 3 Replies!   View Related
Keep A List Of Menu-items Active?
What is the best way to keep a list of menu-items active?

Posted: Dec 10, 2009 02:08 PM

View 2 Replies!   View Related
Web Forms :: Multiple Menu Items?
have multiple menu items in an  Each menu item has submenus.  When a user selects a submenu the background color changes but I need the background color of the indivdual header menu item to change as well.

Posted: Feb 11, 2011 07:20 PM

View 1 Replies!   View Related
How To Replace A Character In A String To Space Or White-space
How to replace a character in a String to space or white-space?

Posted: May 05, 2010 12:55 PM

View 3 Replies!   View Related
Web Forms :: Vertical Menu With Vertical Sub Menu Items
I want to have a vertical menu with vertical sub menu items? is that possible? I saw some where that we could use some tree style view menu controls(that's avilble on web for free). But I don't like the tree style menu. Is there any other possible ways? I should have 5 menu items vertically and each menu item's sub item should be listed under that menu item(it should look like parent and child) and I know all the menu items at design time..

Posted: Apr 14, 2008 09:23 PM

View 5 Replies!   View Related
Web Forms :: How To Create A Menu List With The Sub Items
I am trying to create a menu list with the sub items by reading a xml file. I can create ul and li tag in code behind by reading the xml file elements and loop through it and create a html string but, I want to is there any other best way to do this?
My XML file look like below:


Posted: Dec 25, 2010 04:03 PM

View 1 Replies!   View Related
Web Forms :: Putting Box Around Sitemap Menu Items?
How can I put a box around each of my Sitemap menu items? Also what are my options for graphically manipulating these Sitemap menu items?

Posted: Jan 14, 2010 12:03 PM

View 4 Replies!   View Related
Bind Items - Menu Control Using SiteMapDataSource
How to bind menu items in asp:Menu control using SiteMapDataSource from code behind(c#)

Posted: Oct 27 09

View 1 Replies!   View Related
Web Forms :: Menu Items Not Visible In IE And Safari?
I did my menu control but the dynamic part is appearing like it is behind the other elements in IE.

As for Safari, it is just not working at all. I add a class called .IeFix { z-index:1000}, but it still not working and then I downloaded the CssFriendly dll and added a reference to my application but it is still not working.

Posted: Aug 28, 2009 11:55 AM

View 1 Replies!   View Related
Security :: Missing Menu Items Via Roles?
I have a site that was working fine with security.  I needed to create my own RoleProvider to give the ability to add Groups to roles based on certain criteria which I successfully did.

The problem is, since then, my main site (a Single Sign On Site) will not show the proper menu items for my users roles.  The funny part is that right after I publish it, or restart the application, it works fine.  Once it has been running for awhile, I lose my menu items. 

If I manually type in the URL to go to one of the pages that I cannot see the menu item and perform some function, all of a sudden all my menu items reappear.

Posted: Jun 30, 2010 08:07 PM

View 1 Replies!   View Related
Web Forms :: Want To Make The Dynamic Menu Items?
I have an ASP:Menu linked to a sitemap.  I "simply" want to make the dynamic menu items a certain color (whether they have been visited or not).  I'm just not sure how to prevent them from using the a and a:visited definitions from my style sheet.

Is the only way around this to use a DynamicItemTemplate?

I am using VS2008/.NET 3.5 SP1.

Posted: Oct 05, 2009 06:55 PM

View 1 Replies!   View Related
Web Forms :: Menu Can't Display Dynamic Items?
how can i fix my menu that is not showing a dynamic items... it only says "Expand ****"... suddenly that problem showed up... and also a skip navigation link showed too..

Posted: May 15, 2010 07:48 PM

View 5 Replies!   View Related
JQuery :: Dynamically Populate Menu Items?
I am using Asp.Net 3.5 along with C# and database is SQL Server 05. I am using menustrip that is bind with with data source using LINQ to SQL. i also add some CSS stuff with menu so that after applying CSS my menu show at top of website horizontally.

But i need some JQuery Menu (stylish menu) which should be populate dynamically.

For Example i created two roles 1) Admin 2) User

When admin loggin the admin menu show when user loggin admin menu hide and all the data of menu is populate via JSON file. I am using  sitemap to populate menu but now i want some JQuery Menu which is stylish and should populate accodrding to needs not be hard coded.

Posted: Jan 08, 2011 05:23 AM

View 6 Replies!   View Related
Copyright © 2005-08, All rights reserved