Find treenode by DataPath, not ValuePath
am 01.02.2008 15:58:07 von alexandisHi,
i use xml sitemap, several big parent node groups. In each parentnode
tag i want to specify url as initial 'selected' url to go to when
loading the page.
So i have the following structure
...
....
SectionA has own selected node (last visited), SectionB - own and so
on... - I use session array for this.
BUT - the problem is when i want press sectionA (sectionB ...) picture
and want imitate clicking on last-visited subnode of this section - i
can't do it simply! I hoped on some method of treenode, but there's
only FindNode, that for some reason works with ValuePath, not
DataPath.
I'd prefer to use DataPath because it's also unique and more
understandable for user... and ValuePath is generated by system and I
don't know what is ValuePath for each specific node :( Indicating URL
would be much more easy for the user editing first-to-show nodes in
web.sitemap