Setting a tree view menu to a specific level
am 21.01.2008 13:37:07 von John
Hi there,
I have a site that uses a Tree View navigation control, based on a
web.sitemap file (via a SiteMapDataDource), which all works fine.
My question is how do I set the top node to be the current section rather
than the home page. The basic structure is the home page at the root
followed by a folder for each section (ie Products, Services etc.) with the
respective content pages in the folders. Each content page is based on a
master that sits at the root as well.
So can I set the top node programatically or is there an attribute I can set
instead?
Thanks in advance.
Best regards
John
RE: Setting a tree view menu to a specific level
am 22.01.2008 06:47:41 von wawang
Hi John,
Not sure if my understanding of your requirement is correct or not, please
try following properties on the SiteMapDataSource control and let me know
if it answers your question:
Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Re: Setting a tree view menu to a specific level
am 22.01.2008 17:11:56 von John
Hi Walter,
Yes, just right, thank you.
Best regards
John
""Walter Wang [MSFT]"" wrote in message
news:gZ13WpLXIHA.4720@TK2MSFTNGHUB02.phx.gbl...
> Hi John,
>
> Not sure if my understanding of your requirement is correct or not, please
> try following properties on the SiteMapDataSource control and let me know
> if it answers your question:
>
>
> StartFromCurrentNode="true"
>
>
> Regards,
> Walter Wang (wawang@online.microsoft.com, remove 'online.')
> Microsoft Online Community Support
>
> ==================================================
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ==================================================
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>