RE: site maps & menu control
- From: Mark Nelson <MarkNelson@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 22 Jan 2007 23:01:00 -0800
Bret,
I tweaked the sitemap.xml in the following way and i could able to produce
the result as you expected.
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<!--don't disturb the top-level node-->
<siteMapNode url="" title="" description="">
<!--Items for the menu1-->
<siteMapNode url="" title="Menu1" description="" >
<siteMapNode url="" title="1Child1" description="" />
<siteMapNode url="" title="1Child2" description="" />
<siteMapNode url="" title="1Child3" description="" />
</siteMapNode>
<!--items for the menu 2-->
<siteMapNode url="" title="Menu2" description="" >
<siteMapNode url="" title="2Child1" description="" />
<siteMapNode url="" title="2Child2" description="" />
<siteMapNode url="" title="2Child3" description="" />
</siteMapNode>
<!--items for the menu 3-->
<siteMapNode url="" title="Menu3" description="" >
<siteMapNode url="" title="3Child1" description="" />
<siteMapNode url="" title="3Child2" description="" />
<siteMapNode url="" title="3Child3" description="" />
</siteMapNode>
</siteMapNode>
</siteMap>
If you want horizonal orientation of nodes go for Menu Control and if yo
want vertical orientation of nodes go in for TreeView Control
Thanks & Regards,
Mark Nelson
"Bret" wrote:
I have spent hours trying to configure the web.sitemap and the webform MENU.
CONTROL properties to give me the menu format I need w/o success, even
though I've literally copied from examples from books and support sites.
Heres is the format I want on the leftside of my form. The "headings" do
not have any url set as property, they are exactly that, just headings and I
need it to appear vertically. Though I prefer the list displaying, even if
they appear after "hovering" or clicking on heading that is fine. The
actual code appears after below. Please help. thanks.
Menu1
1Child1
1Child2
1Child3
Menu2
2Child1
2Child2
2Child3
Menu3
3Child1
3Child2
3Child3
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode title="Menu1" >
<siteMapNode url="1Child1.aspx" />
<siteMapNode url="1Child2.aspx" />
<siteMapNode url="1Child3.aspx" />
</siteMapNode>
<siteMapNode title="Menu2" >
<siteMapNode url="2Child1.aspx" />
<siteMapNode url="2Child2.aspx" />
<siteMapNode url="2Child3.aspx" />
</siteMapNode>
<siteMapNode title="Menu3" >
<siteMapNode url="3Child1.aspx" />
<siteMapNode url="3Child2.aspx" />
<siteMapNode url="3Child3.aspx" />
</siteMapNode>
</siteMap>
- Follow-Ups:
- RE: site maps & menu control
- From: Bret
- RE: site maps & menu control
- Prev by Date: RE: How can validator code get the FormView data object
- Next by Date: Re: Using Custom Control in a FormView
- Previous by thread: RE: Global resources not localized on IIS
- Next by thread: RE: site maps & menu control
- Index(es):
Relevant Pages
|