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: 10/5/2005 2:51:06 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 7 Views: 38 Favorited: 0 Favorite
8 Items, 1 Pages 1 |< << Go >> >|
"wyx2000" <>
NewsGroup User
What is the right way to more than one menu in sitemap? thanks!10/5/2005 2:51:06 AM

0

In most cases, you will need more than one menu, like one on left, one on top, one on bottom., I am wonderring how to represent them in sitemap.



Thanks!
"JoeBerg" <>
NewsGroup User
Re: What is the right way to more than one menu in sitemap? thanks!10/5/2005 6:13:56 AM

0

You can add multiple SiteMap Providers in your web.config. Each one could map to a specific sitemap file (left.sitemap, right.sitemap, etc.). Then you could do something like this with each Menu bound to a different SiteMapDataSource:

SiteMapDataSource1.Provider = SiteMap.Providers["left"];

Hope this helps,
Joe
"wyx2000" <>
NewsGroup User
Re: What is the right way to more than one menu in sitemap? thanks!10/5/2005 3:56:23 PM

0

Thanks.

I think that works for display them seperately, but usually you use them together, what I mean is even you have left, top and bottom menu, they actually work together, when you select one item from bottom menu means you don't select any from top or left menu. So I think it is better to put them together. I created my sitemap like this:


<siteMap enableLocalization="true" >
 <siteMapNode url="/root">
  <siteMapNode url="/main" title="category_home">
   <siteMapNode title="Home" description="Homepage" resourceid="91C9EE4D-9343-4F2D-8C8C-42D65B3F631A" roles="Admins"/>
   <siteMapNode title="Courses" description="" roles="Admins" />
  </siteMapNode>

  <siteMapNode url="/header" title="category_header">
   <siteMapNode title="Student Area" description="" roles="Admins" />
  </siteMapNode>
 </siteMapNode>
</siteMap>


some node don't look right, but I am using my own sitemapprovider to parse them, so I can do some processing there. I use the two nodes "/main" and "/header" to seperate the menu to two sections.

"akibbie" <>
NewsGroup User
Re: What is the right way to more than one menu in sitemap? thanks!10/5/2005 10:41:02 PM

0

Related question... If I have a top menu showing static 2 levels but I want the left menu to show the child nodes to the currently selected node, how do I do that?

So my top menu would have :  Home | Level2
And if I were on the Home page my Left menu would have Level2

Or if I were on the Level2 page my Left menu would have
Child1
Child2
Child3


<siteMapNode url="" title="Home" description="" >
   <siteMapNode url="" title="Level2" description="" >
      <siteMapNode url="" title="Child1" description="" />
      <siteMapNode url="" title="Child2" description="" />
      <siteMapNode url="" title="Child3" description="" />
   </siteMapNode>
</siteMapNode>
I find that the harder I work the more luck I seem to have.
"JoeBerg" <>
NewsGroup User
Re: What is the right way to more than one menu in sitemap? thanks!10/5/2005 11:57:06 PM

0

Please take a look at the walkthrough named: "Walkthrough: Controlling ASP.NET Menus Programmatically" in the help. It is also available online through MSDN but it looks like the page is down.

http://winfx.msdn.microsoft.com/library/en-us/dv_vwdcon/html/92cd3457-59aa-4a7e-b6c2-0deb2fa37a2d.asp

Thanks,
Joe
"wyx2000" <>
NewsGroup User
Re: What is the right way to more than one menu in sitemap? thanks!10/5/2005 11:58:36 PM

0

You can use StartingNodeUrl



 akibbie wrote:
Related question... If I have a top menu showing static 2 levels but I want the left menu to show the child nodes to the currently selected node, how do I do that?

So my top menu would have :  Home | Level2
And if I were on the Home page my Left menu would have Level2

Or if I were on the Level2 page my Left menu would have
Child1
Child2
Child3


<siteMapNode url="" title="Home" description="" >
   <siteMapNode url="" title="Level2" description="" >
      <siteMapNode url="" title="Child1" description="" />
      <siteMapNode url="" title="Child2" description="" />
      <siteMapNode url="" title="Child3" description="" />
   </siteMapNode>
</siteMapNode>
"akibbie" <>
NewsGroup User
Re: What is the right way to more than one menu in sitemap? thanks!10/6/2005 12:04:36 AM

0

Thanks for the link, but it returns a 404 error.  However I Googled the walkthru title and got this link that works.

http://msdn2.microsoft.com/en-us/library/16yk5dby

I will read it  :)
Aaron


I find that the harder I work the more luck I seem to have.
"BigWillee" <>
NewsGroup User
Re: What is the right way to more than one menu in sitemap? thanks!10/28/2005 1:18:16 AM

0

JoeBerg:
You can add multiple SiteMap Providers in your web.config. Each one could map to a specific sitemap file (left.sitemap, right.sitemap, etc.). Then you could do something like this with each Menu bound to a different SiteMapDataSource:

SiteMapDataSource1.Provider = SiteMap.Providers["left"];

Hope this helps,
Joe


Thanks JoeBerg, You don't know how long I looked to be able to find out how to get different sitemaps.

-Will
8 Items, 1 Pages 1 |< << Go >> >|


Free Download:













upload a folder of files

how to read contect from another website which need use/pswd?

list of edit controls like yyyy/mm/dd for the editing and formatted fields

server 2003 web edition communicating with sql server on lan

registration (not for login)

cross table referencing?

icomparable and icomparer

one web which have thread controlling multiple web service

rename web page

asp.net 2.0

loop through web controls

inherits a class in usercontrol

add new user to a role.

email problem

loading an .aspx page in an iframe

how to set default format strings across a site

inserting radiobutton,dropdownlist & textarea values to database.

"button_click" event handler not firing

bind data to html div control

i need help coding an event

defining relationships b/w datatables objects

database connection

please resove my problem

make sure that the class defined in this code file matches the 'inherits' attribute

problems displaying aspx pages in ie.

drawing image

compilation error - please help

createuserwizard1_createduser, get userid

arrays

unix & mac brower

problems with usercontrols

generics questions

validation of numbers and letters

how do i get stuff to happen when the browser is not open?

<%# not working... what am i missing?

htmlencode and other server things not working/?????

problem: post with webrequest

login page

how can i use ajax technology for dynamically generated server controls

how can i load the same object after the pagepost back?

getting started with asp.net

customer error

just starting asp.net; display problems

wireless service providers - sms email address

i want to post the html content to web browser

thread safety?

proper class construction

i'm looking for a stock market graph control

populate listbox from c# query

how do i convert this to an integer?

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT