Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:40
how to populate dhtml menu frm sql database using asp.net?
Poster: bornslippy
Dated: Sunday February 29 2004 - 15:31:16 GMT
any feedback will be greatly apprecciated...
thanks....
Poster: Martin
Dated: Sunday February 29 2004 - 16:41:22 GMT
hi bornslippy,
It's difficult the get you an answer of this generic question.
I use the menu with ColdFusion and several type of databases like MS-SQL, access and Firebird. That means: All menuitem are stored in a database.
I't quit easy to loop a recordset to generate the menu dynamicly. Instead of using the external file "menu_data.js", i generate the menu into the html-file directly.
Ii would be helpful, f you have more specific questions
Poster: bornslippy
Dated: Monday March 1 2004 - 0:34:37 GMT
okies, currently im using asp.net with vb.net for the code behind... my query is, where do i place my coding for populating my menu from database?
issit at the design view of my .aspx web form where the html code resides or in the .js file provided my milonic?
sorrie for the question which might sound so stupid but im realli new in all this, onli just pick up programming a few months ago... so hope any one can help me out here...
any feedback will be greatly appreciated... thanks
Poster: Martin
Dated: Wednesday March 3 2004 - 8:25:19 GMT
The best position for populating your menu is at the end of your html-file.
Code:
<body>
your html
your menu
</body>
your html
your menu
</body>
The reason for this are the search-engines.
Poster: Andy
Dated: Wednesday March 3 2004 - 11:32:31 GMT
Just to let you know that demos and sample code for this is currently being developed and we should have something soon as well as building menus from XML.
Cheers
Andy
VS.NET 2003 Server Control
Poster: thlucas
Dated: Thursday March 3 2005 - 9:16:57 GMT
Hi BornSlippy,
I don't know if you're tracking this thread or not, but I saw your post and thought I would reply. I've created a VS.NET 2003 server control for the Milonic Menu. Check out the following thread for details and sample code - scroll to the bottom of the thread for demo and code downloads:
http://www.milonic.com/forum/viewtopic.php?t=4345
Hope it helps,
Todd