Click here to Skip to main content
15,886,805 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i am using sitemap provider to create my menu.

How can I remove the first menu item ,which is null, from getting displayed.

Please see image of my menu here.

here

XML
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0">
  <siteMapNode  url=""  roles="*">
    <siteMapNode url="Default.aspx" title="Home"  description="" roles="*"/> 
  </siteMapNode>
</siteMap>
Posted
Updated 22-Nov-12 0:33am
v3
Comments
[no name] 22-Nov-12 7:39am    
Have you tried to delete that first node ?
spankyleo123 22-Nov-12 9:33am    
how?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900