Questions tagged [sitemapprovider]

ASP.NET System.Web.SiteMapProvider class that provides a common base class for all site map data providers, and a way for developers to implement custom site map data providers that can be used with the ASP.NET site map infrastructure as persistent stores for SiteMap objects.

The StaticSiteMapProvider and XmlSiteMapProvider classes represent the default implementations of the abstract SiteMapProvider class. The XmlSiteMapProvider uses an XML file named Web.sitemap to store site map data.

The SiteMapProvider class supports the concept of a site map provider hierarchy, by declaring the RootProvider and ParentProvider properties. A SiteMapProvider can be a child or parent of another provider. This enables scenarios where different content areas of a site are owned or implemented by different development groups that maintain their own site maps and site map providers.

http://msdn.microsoft.com/en-us/library/system.web.sitemapprovider.aspx

80 questions
0
votes
1 answer

How to combine web.sitemap and SiteMapProvider in ASP.NET

So, here's what I'm working on. I have an ASP.NET web app, in which the sitemap is displayed on the site.master file through the web.sitemap. Here's the site.master:
Mike G
  • 4,232
  • 9
  • 40
  • 66
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

MVC Sitemap renders empty when the current action is not in the Mvc.sitemap file

Is it possible to force the sitemap control to render the menu when the current action is not listed in the MVC.sitemap file? I have a simple top nav. When the current action is in the sitemap, the call to .Menu() will render the correct
  • ..…
Andrew
  • 8,322
  • 2
  • 47
  • 70
0
votes
2 answers

Sitemap security trimming using roles attributes only, and not allow/deny rules elsewhere

I am aware that the tag has the "roles" attribute to make up for the nodes that don't have the "url" attribute, which can be resolved in other ways. I'm not interested in these other ways, though, I'd like to have all my permissions set in my…
Liz Av
  • 2,864
  • 1
  • 25
  • 35
0
votes
2 answers

How to use Custom SiteMapProvider in ASP NET MVC?

I am currently trying to implement a Custom SiteMap Provider. I have read several tutorials about it, and followed their lead. I have created a subclass of XmlSiteMapProvider named MySiteMapProvider which is located in MyProject.Security. I have…
ckonig
  • 1,234
  • 2
  • 17
  • 29
1 2 3 4 5
6