Have you looked at the csstest sample in Scott Gu's post
here ? In that post, scroll down to the section titled "Show me an example of how I use these control adapters?", download the
csstest.zip file, open it in VS2005, run the code and see how it works.
The sample has Menus with sub-menus for both vertical as well as horizontal menus. The code is also very bare bone and easier to understand than the CSS Control Adapters tutorial projects which have a lot of different examples.
Member
10 Points
30 Posts
how to create sub menu related to main menu with asp:menu
Nov 15, 2007 02:02 PM|Stib AB|LINK
I want my menu to act like a main menu.
My main menu did work correctly by settingMaximumDynamicDisplayLevels
="0"But how do i set e sub menu that populates by the selected mainmenu?
Member
120 Points
23 Posts
Re: how to create sub menu related to main menu with asp:menu
Dec 06, 2007 11:32 PM|ihaathi|LINK
Have you looked at the csstest sample in Scott Gu's post here ? In that post, scroll down to the section titled "Show me an example of how I use these control adapters?", download the csstest.zip file, open it in VS2005, run the code and see how it works.
The sample has Menus with sub-menus for both vertical as well as horizontal menus. The code is also very bare bone and easier to understand than the CSS Control Adapters tutorial projects which have a lot of different examples.
css adapters
This post is given AS-IS. No Warranties.
Member
10 Points
30 Posts
Re: how to create sub menu related to main menu with asp:menu
Jan 03, 2008 03:42 PM|Stib AB|LINK
Hi and thanxs for your answer.
The given link have only ONE <asp:menu>.
I needed one <asp:menu id=mainmenu /> and a submeny <asp:menu id=submenu /> that gets populated depending on selected in the mainmenu.
Like most webpages are used like. one UL list for main located in the header and another UL list for subpages located at the left.