Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 25th, 2006, 06:36 AM
Registered User
 
Join Date: Oct 2005
Location: chandigarh, UT, India.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default populate Menus from Database

Hello All
          Could u tell me how to populate menus from database. I mean to say that i want to make them dynamic.My target is to show only those forms(screens) which are assigned for that user. Any suggestions regarding Menus in .net are appreciated. Currently i am using 'Xara menu maker'


harry
 
Old February 26th, 2006, 07:54 PM
Wrox Technical Editor
 
Join Date: Dec 2005
Location: , , Canada.
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I briefly looked at Xara; I assume your menu's are being generated automatically through the Xara App.

If you wanted to create these menus from a database you could reverse engineer the files generated from Xara.
Take a look at the .js files containing the menu information, create a database to store the menu information, then have the menu's generated when your web application is first run.

- A.Kahtava
 
Old March 2nd, 2006, 05:41 AM
Registered User
 
Join Date: Oct 2005
Location: chandigarh, UT, India.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi friends
           i have stored the information that is contained in .js files in database. but it was not working.

harry
 
Old March 2nd, 2006, 07:54 AM
Wrox Technical Editor
 
Join Date: Dec 2005
Location: , , Canada.
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok - well some additional details would be nice.
Perhaps some code, an outline of what you did...

In the mean time take a look at the following link.

Populating Menu Control in ASP.NET 2.0 - using different data sources: http://www.codeproject.com/cs/menu/P...ontrolASP2.asp


- A.Kahtava




Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Script to populate TBH database motemape BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 May 25th, 2007 04:42 AM
dynamic menus off odbc database sionsolo42069 ASP.NET 2.0 Professional 5 March 21st, 2006 12:33 AM
populate Menus from Database harrysingh26 ASP.NET 2.0 Professional 0 February 21st, 2006 02:39 AM
Populate a drop down from database topshed Access 5 November 29th, 2004 09:38 PM
Populate txtbox From Database awieds Access VBA 3 October 20th, 2004 03:47 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.