Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there...
I have a master page with 2 menus...
My task is to load these menu items dynamically...I can add the Main menu items when the page loads...The issue is my submenu items dont get added\showing when i click one of the menu items in the main menu.
How to solve this?
There are 3 pages
First page without any sub,emu items
The second and third pages must be loaded according to the click of main menu item.....
Thanks in advance...
Posted
Updated 5-Aug-10 1:25am
v2

1 solution

Looks like you are not re-forming the menu's on postback. When you create the controls dynamically, you need to re-create them at postbacks to re-show and let the attached handlers work properly.

If this doesn't solve your problem then post important code-snippets.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900