CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 8/7/2007 5:03:40 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 4 Views: 330 Favorited: 0 Favorite
5 Items, 1 Pages 1 |< << Go >> >|
rozialishah
Asp.Net User
Dynamic menu based on database table8/7/2007 5:03:40 AM

0

Hi,

   I want to have a menu in my web page which will be based on the database table because I want to build my menu on run time acording to the online user. I have a table to store the information which role can access which menu item so I want to use that table to build menu.

   Please give me some direction or indication of how can I do this.

thanks in advance.


Syed Ali Shah

______________________________________________
Attention: Don't Forget to mark as "Answer" If I helped you in solving your problem.
johram
Asp.Net User
Re: Dynamic menu based on database table8/7/2007 8:13:16 AM

1

Check out the SiteMapDataSource component, which can be used to read the site structure from an XML (or database). And then you link it up with the Menu component. Works well if you don't haev too advanced and complicated demands ;-)


If this post was useful to you, please mark it as answer. Thank you!
rozialishah
Asp.Net User
Re: Dynamic menu based on database table8/8/2007 12:47:18 AM

0

could you please tell me how can I specify the databasource of a menu as a tadabase. Any sample code please.


Syed Ali Shah

______________________________________________
Attention: Don't Forget to mark as "Answer" If I helped you in solving your problem.
Amanda Wang - M
Asp.Net User
Re: Dynamic menu based on database table8/9/2007 10:17:20 AM

0

Hi rozialishah ,

There is an article about how to generate a treeview base on database, I think you can refer it for the menu.

http://www.codeproject.com/useritems/DataTreeView.asp

 

If you have any trouble, please let me know.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
johram
Asp.Net User
Re: Dynamic menu based on database table8/9/2007 10:59:15 AM

0

Check out this great article from aspallicance: Building a Database Driven Hierarchical Menu using ASP.NET 2.0

It should do the trick for you! 


If this post was useful to you, please mark it as answer. Thank you!
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Oracle Application Server Portal Handbook: Design, Deploy, and Manage Robust Enterprise Web Portals Authors: Christopher Ostrowski, Pages: 597, Published: 2007
Dreamweaver MX 2004: The Missing Manual Authors: David Sawyer McFarland, David Pogue, Pages: 836, Published: 2004
Microsoft Office FrontPage 2003 Bible Authors: Curt Simmons, Pages: 864, Published: 2003
Pro .NET 2.0 Windows Forms and Custom Controls in C#: From Professional to Expert Authors: Matthew MacDonald, Pages: 1037, Published: 2005
Sams Teach Yourself Dreamweaver UltraDev 4 in 21 Days Authors: John Ray, Pages: 767, Published: 2000
Inside Dreamweaver MX Authors: Laura Gutman, Patricia J. Ayers, Donald S. Booth, Pages: 1301, Published: 2002
Sams Teach Yourself Dreamweaver MX Application Development in 21 Days Authors: John Ray, Pages: 714, Published: 2002
Multi-operating System Networking: Living with Unix, Netware, and NT Authors: Raj Rajagopal, Pages: 1360, Published: 1999
Pro .NET 2.0 Windows Forms and Custom Controls in VB 2005 Authors: Matthew MacDonald, Pages: 1036, Published: 2006
Macromedia Dreamweaver 8 Advanced for Windows and Macintosh Authors: Lucinda Dykes, Pages: 358, Published: 2006

Web:
Java / Oracle SOA blog: Dynamic Menu based on Roles ( Database) Dynamic Menu based on Roles ( Database) .... Add this page to the menu items table and use the control flow case name in the action column. ...
Dynamic menu based on database table - ng.asp-net-forum ... Dynamic menu based on database table, > ROOT > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls, ...
CodeProject: Dynamic Menu Based on Database. Free source code and ... Nov 10, 2005 ... A dynamic personal menu for applications based on the information in ... Also, in the Access database, the table ITEMS has an IMG field. ...
Phpsimple.net : PHP Tutorial, PHP Source Code, PHP Programming ... Dynamic Dropdown Menu. Tutorials > Dynamic Dropdown Menu ... This tutorial require 1 PHP file and 1 table of mySQL database. ...
JavaScript Menu, DHTML Menu, Cross Browser Web Site Popup Menus ... Search Engines and the Menu · Embedding a Menu inside a Table Cell ... Milonic are World leaders in the development of Dynamic Hypertext Mark-up ... Image Based DHTML Menu samples feature menus which are predominantly made up of ... with data from a MySQL Database, this has been made easy due to the menu's ...
Create asp.net dynamic menu from database tables - Toolbox for IT ... Jun 12, 2008 ... Message in asp-dotnet-l discussion group regarding Create asp.net dynamic menu from database tables.
Dynamic menu URL based on User role Driven though SQL Server ... In my system, I have role based menu enable and disabled to get access individual user based on sql database table. ...
Dynamic, Database-driven Menu Database Driven Menu. This page is designed to show how easy it is create menus from a couple of database tables. I'm using JSTL's SQL Tags because they're ...
Build a Dynamic Menu in ColdFusion [ColdFusion Tutorials] The database for our dynamic menu is straightforward. To accomplish our menu we only need two tables -- no stored procedures or anything else (though a ...
Dynamic Drive- CSS based menu scripts The menu links is based on a list, while the drop down menus are simply regular DIV tags on page. ... This is a 3 state menu effect, appicable to any table. ...

Videos:
Restaurante Marisqueria Tic-Tac Abierto desde 1967 uno de los restaurantes mas antigua del Puerto de la Cruz, en la zona de Lago Martianez, se encuentra el Restaurante Tic-Tac ...
Sam's HOT and SWEATY New York City Lullaby of Birdland! ► http://samharris.com/free Sam takes a NYC train in the heat, and drags you through the not so fresh feeling subway. We go backstage of ...
myHotelVideo.com presents Kervansaray Kundu in Lara-Kundu ... More @ http://www.myhotelvideo.com/en/landingpage/youtube/resourceid/Mhv_Catalog_Offer::70277 Location: This hotel is located on the unique bay ...
006 Macworld 2009 Keynote by Phil Schiler 006macworld2009
Charlie Rose - Media Coverage of the war in Iraq / Eduardo ... Segment 1: A panel on media coverage of the war in Iraq with guest host Mary Matalin, former counselor to Vice President Cheney. She talks to ...
The Paradox of Choice - Why More Is Less Google TechTalks April 27, 2006 Barry Schwartz






content pages and schema violations

preparing sitemap for a site

finding control on masterpage

new to themes, best way to accomplish multi site app

urlrewritingnet hiarchy & event firing issue

using findcontrol with a page in a master page.

customizing the asp.net calendar

dynamic hyperlink to reporting services from ajax autocompleteextender selection

master pages when output to printer or pdf does not fully render

wizard activestep or moveto method won't navigate

gridview disappears from viewsource html rendered code

redirect to the page with keeping the layout of the masterpage

gridview control going out of contentplaceholder.

dynamic masterpages and themes

problem with a second master page

sitemap and menu control

set treenode image in code behind (vb)

override meta tags in masterpage at the page level

master page sites and cookies

using menu as site navigation

outputcache directive and dynamic user controls....

large sitemap loading slowly.... any tricks to speed things up

how to apply the style sheet to the content page?

disabling the asp:button in masterpage wben we press enter key

asp menu control -- centering your menu text

clear the checkednodes in a treeview

javascript menu in master page hides behind contentplaceholder controls

simple script callback in 5 steps using asp.net 2.0

link to style sheet in a master page... how to render as a server control

treeview control - prevent root node from expanding/collapsing urgent

   
  Privacy | Contact Us
All Times Are GMT