View Single Post
  #1 (permalink)  
Old May 19th, 2008, 04:27 AM
robzyc robzyc is offline
Friend of Wrox
 
Join Date: Mar 2007
Location: Hampshire, United Kingdom.
Posts: 432
Thanks: 0
Thanked 1 Time in 1 Post
Default TreeView and SiteMap Node Order

Hi Guys,

I have implemented my SiteMap Provider and all seems to be working well, however, I would like more control over the order in which the nodes are display. So I obviously altered the core code to reurn the SiteMapNode collection in the order based on a column value for the index. I have tested this code and all works fine, the items are returned in the expected order.

However, when adding the provider to a site, this appears to no longer be the case and the order they are listed in does not change..

Is there anything in particular I need to do in order to get it to honor the order of the nodes in the node collection returned from the core code?

Many thanks,

Rob
http://robzyc.spaces.live.com
__________________
Rob
http://cantgrokwontgrok.blogspot.com