View Single Post
  #1 (permalink)  
Old August 25th, 2006, 01:43 PM
bullwinkle bullwinkle is offline
Registered User
 
Join Date: Aug 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default CMS: Bind Nav Data to Treeview/Menu controls

Hi Imar,

Great book, BTW.

I'm looking for the simplest path to binding the Nav Data to an XmlDataSource (..ObjectDataSource?) to serve to treeview/menu controls, vs. the current two repeaters in the SiteMenu.ascx.

I've created a (mostly) functional example with a relational dataset bound to XmlDataSource, transformed via .xsl file. It's probably more complicated than it needs to be- and xsl is still quite foreign to me.

Might you have any suggestions/overview of the most logical way to do this?

FWIW- I'm also thinking that a single, self-referencing table to store ContentType/Category data.. along with appropriate business/presentation mods, could provide unlimited category levels. Ultimately, I'll rewrite friendly urls.. (which I'm surprised nobody has mentioned yet)

Your comments would be greatly appreciated!

B



Reply With Quote