Thats exactly what I was wanting, thanks very much for the help!
Kbalz wrote:
> I'm using XMLSiteMapProvider, and asp:Menu
>
> In your aspx page where you want the Menu, when you define the
> SiteMapDataSource, be sure to have the ShowStartingNode="false" - that
> might solve your second problem
>
> <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server"
> ShowStartingNode="false" />
>
> <asp:Menu1 DataSourceID="SiteMapDataSource1" runat="server"
> .....
>
> And the site map should look something like
>
> <?xml version="1.0" encoding="utf-8" ?>
> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
> <siteMapNode title="TOPLEVELNODE" description="THIS NODE WILL HIDE">
> <siteMapNode title="Home" url="~/default.aspx">
> <siteMapNode title="Logon" url="~/logon/default.aspx" />
> <siteMapNode title="Sign Up" url="~/logon/signUp.aspx" />
> </siteMapNode><!-- End "Home" Node-->
> </siteMapNode><!-- End top level Node-->
> </siteMap>
>
> Using menu should then look like this:
>
> Home ----
> |--- Logon
> |--- Sign Up
>
> Hope that helps,
>
>
> mocsoft wrote:
> > Does anyone know how to use the sitemap file to generate attractive
> > menus other than those specified in Visual Web Developer (menu,
> > treeview). The menu control seems to always group the menu items
> > together in one top node, theres bound to be a way around this surely??
> >
> >
> > Any help much appreciated
|