Looking for a bit of help on modifying the kitchen sink demo so that the menu on the left pulls from a SQL server database.
My main goal is to set up a page such that an admin can change the menu structure in kitchen sink a web page. I have a SQL database built that stores the structure, and the admin utility is 90% done. My next step is getting the actual front end to use that info in the database.
I have experience building AJAX calls in HTML that hit ASP pages to inject code into the HTML based on a query in the database, but I'm having some issues doing effectively the same thing on the kitchen sink demo so that the menu structure is updated. I know that the structure.js file is what drives the menu structure, and I've manually edited that to update with a static menu, so I'm familiar with that. My main issue is how do I update the structure.js file so it can hit a server-side .asp page to pull in an array with the current structure from the database.
I should be fine once I have the array pulled in from the .asp page, but I just don't know to do that so its accessible from the structure.js file.
Thanks a bunch in advance!