protected internal override void RenderContents (HtmlTextWriter writer)
{
SiteMapDataSource siteMap = GetDataSource () as SiteMapDataSource;
bool checkSitePath = IsBoundUsingDataSourceID && siteMap != null;
if (checkSitePath) {
IHierarchyData data = siteMap.Provider.CurrentNode;
if (data != null)
activeSiteMapPath = data.Path;
}
ArrayList levelLines = new ArrayList ();
int num = Nodes.Count;
for (int n=0; n<num; n++)
RenderNode (writer, Nodes [n], 0, levelLines, n>0, n<num-1);
}