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
|