CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 9/12/2007 6:21:15 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 29 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
multiplex7777
Asp.Net User
Menu control not displaying properly9/12/2007 6:21:15 AM

0/0

Hi,

I have some questions about displaying a Menu control: 


Q1.    It seems that on those menu items which have dynamic submenus, the baseline of the item doesn't appear (see image above). I've played around with all the properties of the menu control but can't seem to get it to display right. What's wrong here?

Q2.   How do I make the black triangle on the right of "About Us" appear closer to the word? If I wan to change that icon (from a triangle to something else), is that possible?

Q3.   Currently, users have to click on the text (Home, About us, etc) to link to the page. Clicking on the menu item outside the word does not work, although the menu item will change color. How can I make the entire menu item block clickable? I managed to get this to work when the menu was vertically oriented. But now that it is oriented horizontally, only the text is clickable.

 
Here is my code snippet:

<style type="text/css">
    .navigate a { width:100%; display:block; font-size:9px; }
</style>
<asp:SiteMapDataSource ID="SiteMapDataSource1" SiteMapProvider="TopNavSiteMap" runat="server" />
<asp:Menu ID="Menu1" DataSourceID="SiteMapDataSource1" StaticDisplayLevels="2" runat="server"
    DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="9px"
    StaticSubMenuIndent="0px" BorderStyle="Solid" BorderWidth="0px" BorderColor="#FFFFFF"
    Font-Bold="true" Orientation="Horizontal" BackColor="#999999">
    <StaticMenuItemStyle BackColor="#E2E0E1" ForeColor="#747273" HorizontalPadding="7px"
        VerticalPadding="4px" Font-Size="9px" BorderColor="white" BorderStyle="Solid"
        BorderWidth="0" ItemSpacing="1" />
    <StaticSelectedStyle BackColor="#FF3F00" ForeColor="#FFFFFF" HorizontalPadding="7px"
        VerticalPadding="4px" Font-Size="9px" BorderColor="white" BorderStyle="Solid"
        BorderWidth="0" ItemSpacing="1" />
    <DynamicMenuItemStyle BackColor="#E2E0E1" ForeColor="#747273" HorizontalPadding="7px"
        VerticalPadding="4px" Font-Size="9px" BorderColor="white" BorderStyle="Solid"
        BorderWidth="0" ItemSpacing="1" />
    <DynamicHoverStyle BackColor="#FF3F00" ForeColor="#FFFFFF" Font-Size="9px" BorderColor="white"
        BorderStyle="Solid" CssClass="navigate" BorderWidth="0" />
    <StaticHoverStyle BackColor="#FF3F00" ForeColor="#FFFFFF" Font-Size="9px" BorderColor="white"
        BorderStyle="Solid" CssClass="navigate" BorderWidth="0" />
</asp:Menu>

Thanks very much for the help!  
 

Johnson2007
Asp.Net User
Re: Menu control not displaying properly9/13/2007 1:32:21 AM

0/0

jjwhite
Asp.Net User
Re: Menu control not displaying properly9/13/2007 1:21:30 PM

0/0

 I am going to second the motion that you take a look at css-friendly adapters.  But to answer at least one of your questions, you can change the black triangle image to whatever you want using the DynamicPopOutImageUrl or StaticPopOutImageUrl Properties along with the static/dynamicEnableDefaultPopOutImage properties.


Jon White
My Site
multiplex7777
Asp.Net User
Re: Menu control not displaying properly9/13/2007 1:36:45 PM

0/0

 Thanks for all both your answer! Really appreciate it. I'm gonna check out that css-friendly adapters thingy.

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Object-oriented Programming in Visual Basic .NET Authors: Alistair McMonnies, Pages: 696, Published: 2004
GPS for Mariners Authors: Robert J. Sweet, Pages: 176, Published: 2003
Excel 2007 Power Programming with VBA Authors: John Walkenbach, Pages: 1061, Published: 2007
Sad Macs, Bombs, and Other Disasters: And what to Do about Them Authors: Ted Landau, Pages: 955, Published: 2000
Hacking Exposed: Network Security Secrets & Solutions Authors: Stuart McClure, Joel Scambray, George Kurtz, Pages: 692, Published: 2005
Real World Adobe Illustrator 10 Authors: Deke McClelland, Pages: 920, Published: 2002
the psychology of politics Authors: Hans J. Eysenck, Pages: 336, Published: 1999
Windows Vista: The Definitive Guide Authors: William R. Stanek, Pages: 922, Published: 2007
X Window System User's Guide: OSF/Motif 1.2 Edition Authors: Valerie Quercia, Tim O'Reilly, Pages: 924, Published: 1993

Web:
Submenu of menu control does not display properly on Opera - ASP ... Submenu of menu control does not display properly on Opera. Last post 06-18-2008 11:19 PM by aconniebla. 2 replies. Sort Posts: ...
Submenu not displaying properly in Opera 9.5 - ASP.NET Forums I'm using the menu control with CSS Friendly Adapter Control. Tested OK in Firefox 3, .... Re: Submenu not displaying properly in Opera 9.5 ...
Why is my figure window not displaying properly on Windows XP? - 1 ... Why is my figure window not displaying properly on Windows XP? ... Choose the Display Control Panel Icon from the Appearance and Themes menu. ...
Website Issues : Text not displaying properly - Google Chrome Help ... Website Issues: Text not displaying properly ... Click the Start menu on your computer taskbar. Select Control Panel. Double-click Regional and Language ...
ASP.NET Menu control not being rendered properly in Google Chrome ... Net Menu Control was not rendered as is to be. It does not display the child nodes on hover and when we click any ... NET Menu in Google Chrome properly ...
Desktop and start menu icons not displaying properly - Tech ... Desktop and start menu icons not displaying properly ..... (TDServer Control) - http://www.aajtak.com/wfplayer/tdserver.cab ...
CSS dropdown menu in IE not displaying properly - Dev Shed Discuss CSS dropdown menu in IE not displaying properly in the CSS Help forum on .... Please select one, User Control Panel, Private Messages, Subscriptions ...
HierMenusCentral: Version 6 Known Issues--Issue #6--Menu ... Menu Transitions Do Not Display Properly. ... Avaya Article: Call Control XML in Action - A CCXML Auto Attendant ยท Go Parallel Article: James Reinders on ...
You Control Release Notes Fixed controller sets that were not displaying correctly ... News Reader. Fixed a bug in which some links were not loaded properly when chosen in the menu. ...
HELP - sub menu not displaying properly with js - CodingForums.com HELP - sub menu not displaying properly with js JavaScript programming. ... User Control Panel, Private Messages, Subscriptions, Who's Online, Search Forums ...




Search This Site:










looking for asp.net hosting with streaming video

writing a file located in a shared resource

visual studio 2005 with frontpage server extensions 2002 built-in version control

i m getting 'failes to access iis metabase' error when implementing custom membership. can someone help me

site crashed after trying to install yet another forum help!!

webpart chrome modification

failedpasswordattemptcount

required field validator

need help in treeview mode to show documents for dnn2

billing software

how to encrypt the connection string in web.config

system.security.securityexception using microsoft.office.interop.excel

accessing nd updating custom profile data

executing mailto script in codebehind

how to import namespace using code-behind?

which security model should i use? plz need advice.......

where i can get the "readme "

how remember vriable?

dnn 3.13 stopped running

send secure mail

problems with login control on iis

populating dropdownlist (access database) oledb

external links in web.sitemap

asp.net webcam control

what is the difference between overloading and overriding?

databinding and expressions cells in the properties editor

webreference settings

what is the alternative ?

version

how to register with the admins role??????

 
All Times Are GMT