You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Classes > SiteMap Class > SiteMap Methods > RenderWebsiteMap
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
SiteMap.RenderWebsiteMap Method

Create HTML to render on the page.

C#
public String RenderWebsiteMap(WebsiteMap webSitemap, String displayType, Optional ByVal String className, Optional ByVal int maxLevel, Optional ByVal int startLevel, Optional ByVal String PageUrl);
Visual Basic
Public Function RenderWebsiteMap(ByVal webSitemap As WebsiteMap, ByVal displayType As String, Optional ByVal className As String = "ektSitemap", Optional ByVal maxLevel As Integer = 0, Optional ByVal startLevel As Integer = 0, Optional ByVal PageUrl As String = "") As String
Parameters 
Description 
webSitemap 
GetWebSiteMap() 
displayType 
Determines how to produce HTML. 
className 
Stylesheet class to format the HTML. It must exists in [site]/workarea/csslib/sitemap.css. Leave blank to accept default. 
maxLevel 
Set the max level of the sitemap. Set it to 0 for unlimited. 
startLevel 
Set the starting level of the sitemap. Set it to 0 for start from root. 

HTML/XML

Supported displayType: ListWithDescription | List | RawXml

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!