Thursday, March 22, 2012

Sitemap - Non-Heirarchical?

Hi All,

Is there any way around the single root node implementation of the sitemap?
My site is much flatter than hierarchical, so having everything branch from
"home" seems like a little bit of overkill. I'd rather have the ability to
have various categories at the root level.

Thanks,
PAGatesSiteMapDataSource.ShowStartingNode property does the trick.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]

"pagates" <pagates@.discussions.microsoft.comwrote in message
news:B2A16C67-0D05-4674-9C4D-F5E922B5FDFA@.microsoft.com...

Quote:

Originally Posted by

Hi All,
>
Is there any way around the single root node implementation of the
sitemap?
My site is much flatter than hierarchical, so having everything branch
from
"home" seems like a little bit of overkill. I'd rather have the ability
to
have various categories at the root level.
>
Thanks,
PAGates


I guess you're working with the menu control?

Then you can also set the StaticDisplaylevels = 2

Regards,
Bas

Hello Eliyahu,

Quote:

Originally Posted by

SiteMapDataSource.ShowStartingNode property does the trick.
>
"pagates" <pagates@.discussions.microsoft.comwrote in message
news:B2A16C67-0D05-4674-9C4D-F5E922B5FDFA@.microsoft.com...
>

Quote:

Originally Posted by

>Hi All,
>>
>Is there any way around the single root node implementation of the
>sitemap?
>My site is much flatter than hierarchical, so having everything
>branch
>from
>"home" seems like a little bit of overkill. I'd rather have the
>ability
>to
>have various categories at the root level.
>Thanks,
>PAGates

0 comments:

Post a Comment