Build a dynamic menu in asp.net

Z

zorhel

Hi.
I will do a dynamic menu for a asp.net app.. I don't know yet if how I will
get the data for populate this menu: from a sql server database, xml file or
what, but I know it will be dynamic any probably encapsulated in a control
(user or custom).

Someone have any logic code, samples, links for that?
Thanks

Zorhel
 
C

Curt_C [MVP]

Well, it will depend on what you want.
If you have a list of HREF tags then just get your records, loop through
them and write them out.
We'd need a little more specifics but I suggest you just think it through.
Try it and post when you get stuck.
 
Z

zorhel

Thanks Curt.
I receive a minutes ago the specification.
The menu will be a custom control, render from an XML file.
I must be vertical and horizontal forms, controling by an property, and the
render method must receive an placeholder control to put this menu in any
position on the page.

Do you help me please?

Thanks.

Zorhel
 
M

Mark Rae

Hi.
I will do a dynamic menu for a asp.net app.. I don't know yet if how I will
get the data for populate this menu: from a sql server database, xml file or
what, but I know it will be dynamic any probably encapsulated in a control
(user or custom).

Someone have any logic code, samples, links for that?
Thanks

Zorhel

http://www.aitoc.com/en/flex_menu_net.html

will do what you want. It's free, and it's populated via XML.

See an example of it working here: http://www.sanctuaryrig.co.uk
 
T

Ted Apollo

Hi Mark,

I installed and configured the free Aitoc menu software, but I am receiving
the Ie runtime error message "Error:'AdvancedMenu' is undefined. Any idea
what this might be?

Thanks,
Ted Apollo
 
T

Ted Apollo

I found it. In the doc they suggest:

6: <add key="rootDirectory" value="http://localhost/FlexMenuApp/" />

but the default install is to "C:\Inetpub\wwwroot\FlexMenuNETApp".

I was missing the "NET" in the path.

Thanks,
Ted Apollo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top