I'm trying to make my application create its menus dynamically from details stored in the web.config file. I want to have several sets of menus for different user groups, defining a config section for the menu each group sees:
<section name="group1menu" type="System.Configuration
<section name="group2menu" type="System.Configuration
I would then define the menus something like this:
<add key="Top Level/Second Level/Third Level" value="http://url
Also, once I've created a menu structure, it will stay static for a given group of users, however, dynamic controls have to be recreated on every page load. Can I save the root control of the menu to a Cache object, and readd that root control to the page each time it reloads?
Thanks for your help,