Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Menu control error on client side

Reply
Thread Tools

Menu control error on client side

 
 
ajmister
Guest
Posts: n/a
 
      07-21-2009
Hi



I am new to asp.net and need help with menu control. I have a master
page which has a menu control (Vertical) that has submenus and it uses a
Sitemap.

The submenu is hidden on the masterpage when viewed in Visual express
window but on the cleints side both menu are dislayed. Here is my code





-----Code--

menu.aspx

<asp:Menu ID="Menu1" DataSourceID="SiteMapDataSource1" runat="server"

BackColor="#FFFFFF" DynamicHorizontalOffset="2" Font-Names="Verdana"

ForeColor="#090E8C" StaticSubMenuIndent="10px">

<StaticSelectedStyle BackColor="#FFFFFF" ForeColor="#090E8C" />

<StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />

<StaticHoverStyle BackColor="#090E8C" Font-Bold="False"
ForeColor="#8E8E99" />

<DynamicMenuStyle BackColor="#8E8E99" ForeColor="#090E8C" />

<DynamicSelectedStyle BackColor="#8E8E99" />

<DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />

<DynamicHoverStyle BackColor="#090E8C" Font-Bold="False"
ForeColor="#8E8E99" />

</asp:Menu>



----Sitemap--

menu.sitemap

<?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="Home Page">

<siteMapNode url="~/Admin/admin.aspx" title="Admin"
description="Administration Webpage" >

<siteMapNode url="~/Admin/AFeedPage.aspx" title="A feed"
description="A Administration Webpage" />

<siteMapNode url="~/Admin/BFeedPage.aspx" title="B feed"
description="B Administration Webpage" />

</siteMapNode>

<siteMapNode url="~/Sales/sales.aspx" title="Sales"
description="WebPage for Sales Team to check" >

<siteMapNode url="~/Sales/Asales.aspx" title="A Sales feed"
description="WebPage for Sales Team to check" />

<siteMapNode url="~/Sales/Bsales.aspx" title="B Sales information"
description="Audit Report for Sales Team" />

</siteMapNode>

</siteMapNode>

<siteMapNode url="~/Allusers/ContactInfo.aspx" title="Contact
Information" description="User Contact Information" roles="*" />

<siteMapNode url="~/Allusers/AboutUS.aspx" title="About Us"
description="About US" roles="*" />

</siteMapNode>

</siteMap>




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to execute client-side code _after_ client-side validation? Bogdan ASP .Net 2 06-09-2008 01:31 PM
Client side script after client side validation with asp.net 2.0 Boss302 ASP .Net 0 11-21-2006 08:43 AM
Menu Control in 2.0 and client-side control JCM.NET ASP .Net Web Controls 0 05-17-2006 02:49 PM
Reading Select control from server side which was modified on the client side Azmarae ASP .Net 1 03-03-2004 08:06 PM
Adding custom client-side onClick handler with client-side validator controls Zoe Hart ASP .Net Web Controls 1 01-08-2004 10:45 PM



Advertisments