Questions tagged [asp.net-mvc-sitemap]

MvcSiteMapProvider is a tool that provides flexible menus, breadcrumb trails, and SEO features for the ASP.NET MVC framework, similar to the ASP.NET SiteMapProvider model.

MvcSiteMapProvider is a tool targeted at ASP.NET MVC that provides menus, site maps, site map path functionality, and more. It provides the ability to configure a hierarchical navigation structure using a pluggable architecture that can be XML, database, or code driven. We have moved beyond a mere ASP.NET SiteMapProvider implementation to provide support for multi-tenant applications, flexible caching, dependency injection, and several interface-based extensibility points where virtually any part of the provider can be replaced with a custom implementation.

Based on areas, controller and action method names rather than hardcoded URL references, sitemap nodes are completely dynamic based on the routing engine used in an application. Search Engine Optimization support is also provided in the form of dynamic sitemaps XML, canonical URL tags, and meta robots tags to ensure you send the search engines consistent - rather than conflicting - information about your URLs.

It is open-source and hosted on Github. See the link also for documentation.

https://github.com/maartenba/MvcSiteMapProvider

59 questions
0
votes
1 answer

Lazy loading on DynamicSitemapNodeProvider

I have set up a breadcrumb using the MvcSiteMapProvider. I have a structure that has some static nodes and then on some leaves there are dynamic nodes added using the asp.net-attribute. [MvcSiteMapNode(DynamicNodeProvider =…
0
votes
1 answer

Is it possible to use multiple SiteMapNodes with the same Controller and Action, but different titles?

I am constructing a Wizard, and use the same "Master" Controller and Action to orchestrate which child controller and action is called to implement the step. I am trying to put together a breadcrumb trail to represent the Wizard flow, with some…
SamJolly
  • 6,347
  • 13
  • 59
  • 125
0
votes
1 answer

I seem to be getting a GUID in the MvcSiteMapProvider Breadcrumb trail, not sure why?

I am using MVC3, C#, Razor, mvcSiteMapProvider V4. I am using "Mvc.sitemap"
SamJolly
  • 6,347
  • 13
  • 59
  • 125
0
votes
1 answer

Having trouble binding the XML node in mvc.SiteMap to the routes in global.asa?

I am using MVC3, C#4, Razor, MvcSiteMapProvider V4. I am trying to bind my MvcSiteMapNodes in my mvc.sitemap file explicitly to my routes in my global.asa. But it does not seem to work. No doubt I have omitted something. my routes in global.asa: …
SamJolly
  • 6,347
  • 13
  • 59
  • 125
0
votes
1 answer

MVC Sitemap - conditionally display description

I am using MVC Sitemap provider for my site, and I show up to three versions of the navigation on my page at a time. First, the top level: @Html.MvcSiteMap("MvcSiteMapProvider").Menu(0, true, false, 1) Sub sections, which is reused when viewing a…
0
votes
1 answer

jQuery UI overlapping/masking MvcSiteMap menu

Please see the images below. jQuery UI controls are overlapping/masking MvcSitemap drop down. I believe this is a quick fix (changing a css property of UI theme or so) but I'm having hard time finding how to override this behavior of UI controls.…
vindh123
  • 144
  • 1
  • 1
  • 11
0
votes
1 answer

Adding nodes to mvcsitemap in code

I am building a simple CMS that stores the navigation/sitemap/site structure in a database table. When the app starts up I can create my sitemap nodes dynamically based on the data from that table. The problem I am having is when a new record is…
JBeckton
  • 7,095
  • 13
  • 51
  • 71
0
votes
1 answer

How to add attractive jquery effects to a menu created with Html.MvcSiteMap().Menu()?

I am trying to change the look and feel of the main site navigation menu, so far I have been able to identify the css attributes and change the background images and font styling but I want to make the sub menu either 'slide down' or 'fade-in' on…
Nieszka
  • 167
  • 1
  • 11
0
votes
1 answer

Using MVCSiteMapProvider with Windows Azure

I'm coding a .NET Azure Web Role using MVC4 RC. To generate a site map, I use MVC SiteMap and it works well on localhost. But once deployed on Azure, I get this error : Site map file could not be found. Verify that the path provided in Web.config is…
0
votes
1 answer

Bread Crumb Pattern in asp.net mvc 2.0

I am developing an asp.net mvc 2.0 application in which I want to implement bread crumb pattern but I don't know how to implement it in asp.net. By browsing different sites I come to know about MVCSiteMap Provider but I don't know how to use it and…
Billz
  • 1,067
  • 6
  • 25
  • 57
0
votes
1 answer

Orchard CMS: No web.sitemap to build my custom menus from

I am starting out with OrchardCMS and have hit a road block (for me at least). I have code that generates the menus I need (incremental, drop down or whatever, the code does it), but it uses the web.sitemap or mvc.sitemap, which is not available in…
0
votes
1 answer

Dynamically Create SubMenu using MvcSite map Mvc3

I have created a MvcSite Map which contains Menu Itmes this Site Map is displayed on the shared layout page using @Html.MvcSiteMap.Menu(false,true,true) i have a custom code in MenuHelpModel.cshtml file now i want to create some menuitmes…
Nitin Bourai
  • 430
  • 7
  • 20
0
votes
1 answer

How to add a node to the Dynamic Node Provider?

I have implemented a dynamic node provider by specifying the node provider name in a mvcSiteMapNode in the SiteMap file and it works fine. However, I only want to add the dynamic nodes once the user has authenticated. The reason being is that I want…
Greg
  • 2,654
  • 3
  • 36
  • 59
0
votes
1 answer

Problems with using SiteMapPath

On my site I have the following structure: Product Type Product Category Product Suppose that I have a product with the following characteristics: Product XYZ - TypeLink: "type-xyz" - CategoryLink: "category-xyz" - Link:…
ridermansb
  • 10,779
  • 24
  • 115
  • 226
1 2 3
4