Thank you for your time in responding to my query.
Here is an example how I figured it would work ... Note the "Target"
tag's on the url's that are PDF's
<siteMapNode title="Lakeridge - Home Page" description=""
url="LakeridgeWater.aspx">
<siteMapNode title="Articles of Incorporation" description=""
url="Articles.aspx" />
<siteMapNode title="Minutes for 2006" description="" >
<siteMapNode title="September 2006" description=""
url="minutes0912.pdf" target="_blank"/>
<siteMapNode title="August 2006" description=""
url="minutes0806.pdf" target="_blank" />
<siteMapNode title="July 20, 2006" description=""
url="minutes0720.pdf" target="_blank"/>
<siteMapNode title="July 11, 2006" description=""
url="minutes0711.pdf" target="_blank"/>
</siteMapNode>
<siteMapNode title="Bylaws" description="" url="bylaws.aspx" />
<siteMapNode title="Plot Map" description="" url="plotmap.aspx" />
</siteMapNode>
</siteMap>
I do not want it at the Treeview level. That means that all the
sitemapnodes will open up in a new window. I need to be able to pick
and choose what the target is.
I have some documents that are PDF documents, I need to open them up in
a new window so I do not loose the navagation.
I tried your sample code on my master page (I use vb not c#, sorry).
If I could get this to work, then I could set the e.Node.Target =
"_blank" if the url ends with "PDF". But, I could not get it to work.
It looks like you can overide the sitemap at databound time, but it
did not execute.
Protected Sub MyTreeView_TreeNodeDataBound(ByVal sender As Object,
ByVal e As TreeNodeEventArgs)
If e.Node.NavigateUrl = "" Then
e.Node.Target = "_blank"
End...or this Design Flaw?
[/QUOTE][/QUOTE][/QUOTE]