CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
web_forms
getting_started
data_presentation_controls
dotnetnuke
data_access-sql_server_sql_server_express_and_sqldatasource_control
security
client_side_web_development
novell-support-groupwise-6x-clients
data_access-data_access_and_objectdatasource_control
asp-net_ajax-asp-net_ajax_control_toolkit
novell-support-netware-6x-install-upgrade
asp-net_ajax-asp-net_ajax_discussion_and_suggestions
novell-support-netware-6x-administration-tools
master_pages_themes_and_navigation_controls
configuration_and_deployment
novell-support-netware-client-winnt-2x-xp
novell-support-groupwise-7x-clients
asp-net_ajax-asp-net_ajax_ui
novell-support-edirectory-netware
community-free_for_all
visual_studio_2005
novell-support-groupwise-6x-install-setup
data_access-xml_and_xmldatasource_control
control-cancel
novell-support-iprint
advanced_asp-net-crystal_reports
data_access-xml_web_services
microsoft-public-access
novell-community-chat
state_management
novell-support-netware-6x-abends-hangs
dotnetnuke-getting_started
novell-support-groupwise-6x-gwia
-net_languages-c
novell-support-identity-manager-engine-drivers
novell-support-groupwise-discontinued
advanced_asp-net-architecture
opensuse-org-suse-linux-support-install-configure-administration
dotnetnuke-custom_modules
novell-support-groupwise-7x-install-setup-admin
novell-support-netware-6x-storage-media
novell-support-groupwise-6x-agents
installation_and_setup
data_access-access_databases_and_accessdatasource_control
windows-hosting_open_forum
visual_web_developer_2005_express
novell-support-groupwise-6x-web-access
novell-support-netware-6x-server-backup
macromedia-dreamweaver
novell-support-netware-5x-administration-tools
novell-support-ifolder
novell-support-bordermanager-install-setup
novell-support-imanager
microsoft-public-dotnet-framework-aspnet
novell-support-netware-5x-install-upgrade
novell-support-cluster-services
novell-support-bordermanager-proxies
novell-support-newsflash
advanced_asp-net-sql_server_reporting_services
microsoft-public-dotnet-languages-csharp
web_parts_and_personalization
about_this_site-feedback_on_this_website
ibm-software-websphere-portal-server
novell-support-netware-dns-dhcp
novell-support-zenworks-desktops-4x-app-launcher
-net_languages-visual_basic_-net
advanced_asp-net-custom_server_controls
novell-support-bordermanager-vpn
novell-support-ndps-neps
microsoft-public-sqlserver-programming
novell-support-netware-webserver
community-jobs
novell-support-netware-4x
advanced_asp-net-mobile_and_handheld_devices
internet_explorer_web_controls
novell-support-zenworks-desktops-4x-install-setup
novell-support-edirectory-linux
novell-support-groupwise-7x-gwia
development_tools-web_matrix_general_discussions
microsoft-public-access-formscoding
macromedia-flash
community-announcements
portal_starter_kit
novell-support-zenworks-desktops-4x-management-agent
novell-support-zenworks-patch-management
novell-support-native-file-access
microsoft-public-access-queries
microsoft-public-access-forms
novell-support-groupwise-7x-web-access
novell-support-netware-small-business-6x
data_access-active_directory_and_ldap
novell-support-edirectory-windows
novell-support-groupwise-7x-agents
novell-support-ichain
data_access-oracle
novell-support-zenworks-desktop-management-6x-imaging
novell-support-groupwise-7x-wireless
novell-support-netware-5x-abends-hangs
advanced_asp-net-localization
novell-support-zenworks-desktop-management-7x-imaging-server-nw-win




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: Date Entered: 1/25/2006 11:46:23 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 4 Views: 37 Favorited: 0 Favorite
5 Items, 1 Pages 1 |< << Go >> >|
"wyx2000" <>
NewsGroup User
what should be the right way to handle dynamic menu? thanks1/25/2006 11:46:23 PM

0

I found asp menu is very limit, but maybe I don't understand it very well, please point out for me.

On my site, the menu will change according user role, for example, some menus will should up only for admin, although I could control the display of the content according to user role, but it is better not show the menu items at all if user don't have permission to access it.

In some case, I need hide the page, user can access it by url, but it will not show on the menu.

any idea?

 

 

"dannychen" <>
NewsGroup User
Re: what should be the right way to handle dynamic menu? thanks1/26/2006 6:45:20 PM

0

Is there a reason why the page would need to exist in the SiteMap?  Otherwise, it seems like the solution is to just not put the page in your web.sitemap. 
--
Danny


disclaimer: Information provided is 'as is' and conveys no warranties or guarantees.
"wyx2000" <>
NewsGroup User
Re: what should be the right way to handle dynamic menu? thanks1/27/2006 8:27:17 AM

0

what about if I have a "login" page, how can I hide it after user login, or change the label logout?
"DWesthead" <>
NewsGroup User
Re: what should be the right way to handle dynamic menu? thanks1/27/2006 10:12:26 AM

0

The way we are looking at doing something similar *please note we dont have it working yet as its just an experiment* is setting up the sitemap with all of the pages, then depending on what the user does and logs in as we rebuild the sitemap into an XML format in memory and then bind the menu to this new list of nodes.
What I say is my interpretation - I may not be right :)
"wyx2000" <>
NewsGroup User
Re: what should be the right way to handle dynamic menu? thanks1/27/2006 5:32:20 PM

0

I have made multi menu works, the below is what is in  my web.config. They all call the same class but with different filter.  I have to add one provide for each of them. I prefer a way to pass filter, something like sitemap("public") or sitemap("member"), but not likely it can work that way.

<siteMap defaultProvider="sitemapdefault" enabled="true">
      <providers>
        <clear/>
        <add name="sitemapdefault" type="LinkLibrary.LinkSiteMapProviderDefault"/>
        <add name="sitemappublic" type="LinkLibrary.LinkSiteMapProviderPublic"/>
        <add name="sitemapmember" type="LinkLibrary.LinkSiteMapProviderMember"/>
      </providers>
    </siteMap>

The above doesn't help me to display different menus when public login as member, unless I changed the sitemapprovide from "sitemappublic" to "sitemapmember" like below.

<asp:SiteMapDataSource ID="sitemap" runat="server" sitemapprovider="sitemapmember" ShowStartingNode="false" StartingNodeUrl="/main" />

But the above still can not solve my problem, how to hide "login" menuitem or change its lable from login to logout.


 

 

5 Items, 1 Pages 1 |< << Go >> >|


Free Download:













error uploading to webserver and running dnn

how to install module usersonline

seeking dnn module developers

i solved

i have a question on the html/text module

i'm as mad as a hornet and need some advice.

3.0.5 (beta) issue - getmodulesetting stored procedure error in turkish locale

more than one menu.

module templates

image url not rendering correctly

dnn 3.0.11 upgrade fails....

changing solpart spmenu.js

errors pushing to hosted web environment

interesting article...

what is next? 3.1 or 3.2?

dotnetnuke file size at 15meg

opinions on dnn application

help getting portal registration info into custom module.

can two separate dropdown menu options point to the same tabid?

3.2 bug .. permissions / breadcrumb

printing the edit module

can dnn2's account registration be part of a wizard and how

help me with rss feed, please!

restricting admin menu

hacked

re: what do you think of this for hosting?

dnn 3.0.9 - out of the blue

mapquest error - bad address

multiple container css files

moduleactions - securityaccesslevel question

import users? 2.1.2

successful login page

3.08 set up multi portal config

has this been logged? the search, even for just basic modules, in 3.x including 3.1 doesn't work.

problem skinning tabs into solpartmenu

3.1 has error uploading modules when using an object qualifer been fixed ?

santry rdm for dnn 3.x (version 4) ?

specified cast error using daab

uploading skins

could not load container:

how do i add my own aspx pages?

webservices

help... deployed dnn onto web and getting very strange results

looking for dnn 2.0 alpha version

problem building containers

xmlsmithsoapdnnsitelog web service module - beta testers needed

marketing friendly urls

2 portals on 3....

how do i send email notification based on "authorisedviewroles" of module ?

display username instead of first last name

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT