|
-
Oct 30th, 2010, 07:10 PM
#1
Thread Starter
Fanatic Member
Menu control won't display horizontal
Hi all,
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:
<?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="CustomerSupport.aspx" title="Customer Support" description="">
<siteMapNode url="ProductRegistration.aspx" title="Register products" description="" />
<siteMapNode url="CustomerSurvey.aspx" title="Complete customer survey" description="" />
<siteMapNode url="ContactUs.aspx" title="Contact Us" description="" />
</siteMapNode>
<siteMapNode url="TechnicianSupport.aspx" title="Technician Support" description="">
<siteMapNode url="CustomerIncidentDisplay.aspx" title="Display customer incidents" description="" />
<siteMapNode url="IncidentUpdate.aspx" title="Update incidents" description="" />
</siteMapNode>
<siteMapNode url="Administration.aspx" title="Administration" description="">
<siteMapNode url="ProductMaintenance.aspx" title="Maintain products" description="" />
<siteMapNode url="CustomerMaintenance.aspx" title="Maintain customers" description="" />
<siteMapNode url="TechnicianMaintenance.aspx" title="Maintain technicians" description="" />
<siteMapNode url="IncidentCreation.aspx" title="Create incidents" description="" />
<siteMapNode url="TechnicianIncidentSummary.aspx" title="Display technician incidents" description="" />
<siteMapNode url="IncidentAssignment.aspx" title="Assign incidents" description="" />
<siteMapNode url="IncidentDisplay.aspx" title="Display incidents" description="" />
<siteMapNode url="CustomerDisplay.aspx" title="Display customers" description="" />
</siteMapNode>
<siteMapNode url="Map.aspx" title="Site Map" description="" />
</siteMapNode>
</siteMap>
Thanks,
Strick
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|