|Posted: 10/04/2013, 12:12 PM
I like using table (Data Source) generated menus in my CCS apps but they don't work when using Artisteer designs. So I've come up with a workaround so the CCS menu builder control will display properly with Artisteer designs. I'm using the ASP.Net VB InMotion templates and don't know if it will work with any other templates. Also, my menu control was named Menu1 and I'm generating a horizontal menu. If yours is named something else change it in the following steps.
1. Create an includable page and use the Menu Builder to create your menu. In the menu builder wizard at the Style step, select Use styles from Design.
2. Switch to HTML view and comment out all of the generated script tags. I added a "<!--" to the first line of the file and a "-->" just before <!--BEGIN Menu Menu1 --> (without quotes).
//Remove extra surrounding elements so db generated menu will work.
//Remove the old responsive menu or you will get two responsive menus on devices (one of them empty).
//Remove the extra "active" classes or else all of the menu items show as active.
4. Add the following HTML tag between <!-- BEGIN Menu Menu1 --> and <!-- BEGIN Item -->:
5. Add the following HTML tag between <!-- END Item --> and <!-- END Menu Menu1 -->: