This project is read-only.

Site Map Creation

Topics: Developer Forum, Project Management Forum, User Forum
Aug 27, 2007 at 1:47 AM
Any Ideas how to easy implement Site Map Section?
regards
m.
Oct 4, 2007 at 9:17 AM
It's really simple, just add a Treeview and sitemapdatasource to a usercontrol.

<asp:TreeView ID="TreeView1" CssClass="SiteTree" runat="server" DataSourceID="SiteMapDataSource1" ShowExpandCollapse="False" ShowLines="True" SkipLinkText="">
</asp:TreeView>
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" ShowStartingNode="False" />

Working example here: http://publiceringsverktyg.medio.se/sidkarta.aspx
Oct 6, 2007 at 3:23 AM
I visit the sample at http://publiceringsverktyg.medio.se/sidkarta.aspx and it looks great. Now, you said it's really simple to do it... Would some one explain in detail how exactly it can be done. Just step by step: which and where is a "usercontrol", in which forlder it is located, etc. Then how to implement it in the sitemap page?
Oct 7, 2007 at 8:50 AM


ivangeorge wrote:
I visit the sample at http://publiceringsverktyg.medio.se/sidkarta.aspx and it looks great. Now, you said it's really simple to do it... Would some one explain in detail how exactly it can be done. Just step by step: which and where is a "usercontrol", in which forlder it is located, etc. Then how to implement it in the sitemap page?


You can send me an email at rickard@medio.se and I will post you a zipfile containing the usercontrol.
Feb 20, 2008 at 7:00 PM
Thanks very much for that bit of code. I was able to use it successfully via Easycontrols. My next question is can how would one exclude a page from being displayed in the sitemap that is generated?

Feb 21, 2008 at 9:00 PM


mialutz wrote:
Thanks very much for that bit of code. I was able to use it successfully via Easycontrols. My next question is can how would one exclude a page from being displayed in the sitemap that is generated?




Hi again. How do you mean? Why will you try to exclude pages from the sitemap. If the page is unpublished it's not showing up. Please send me more details.
Feb 22, 2008 at 12:20 PM
For instance...

Let's say I have a page that I want published for archival purposes but don't really want to steer new people towards it? Therefore I wish to leave it out of the tree.

-Mark