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
1
vote
1 answer
1
vote
0 answers

XmlSiteMapProvider only parse the first node

I have an annoying problem and i can't find any start of a solution, so i hope you can help me. I have a sitemap with roles defined for each node :
1
vote
1 answer

ASP.NET MVC 2 Authorize ONLY unauthenticated users

im trying to figure out how to authorize only unauthenticated users. i have a sign in tab displayed in my site map and i only want it to show up when the user hasnt yet logged in.
Bill
  • 11
  • 1
1
vote
1 answer

Query string paramaters for a sitemap

I'm using VWD 2010, ASP.Net, C#. I have a sitemap that works, BUT I need to be able to link to external sites and send parameters. I found some code that looks like it should work, but I'm missing some kind of understanding or they seem to be…
elbillaf
  • 1,952
  • 10
  • 37
  • 73
1
vote
1 answer

.NET Localized sitemap from database?

I have a custom sitemapprovider which loads pages from the database. Pages (pageid, fk_pageid (parent), title, url, show_in_menu) I would like to globalize/localize the title of the page. What's the best method?
Ropstah
  • 17,538
  • 24
  • 120
  • 194
1
vote
2 answers

SiteMap and Url routing

I have a question similar to the one described here: ASP.NET URL Routing with WebForms - Using the SiteMap My ASP.Net WebForms webapplication has a Sitemap, similar to this:
Yvo
  • 18,681
  • 11
  • 71
  • 90
1
vote
1 answer

Treeview Website.sitemap get selected node

I want to be able to bind a treeview with a sitemap data provider in asp.net, and when a user clicks on a node it not navigate to that page, but to update a textbox. I'm not sure if it is possible and struggling to find any suggestions on how I…
James
  • 83
  • 7
1
vote
2 answers

How to stop calling Sitemap provider IsAccessibleToUser each post back

We are using securityTrimming in our ASP.NET web site and using site map to show/hide menus. But the problem is for every post back it keeps coming to this class and go through IsAccessibleToUser method. Since we are using active directory groups…
mwinston
  • 35
  • 1
  • 6
1
vote
1 answer

ASP MVC Sitemap is there an Image HTML Helper?

I have an ASP MVC Sitemap which look something like this
user460667
  • 1,870
  • 3
  • 19
  • 26
1
vote
1 answer

sitemapdatasource does not call OnDataBinding?

I would like to filter entries from web.sitemap using OnDataBinding event, but it does not execute. I would like to have functionality, which allows me to verify whether user's role have access to particular function. I created table with list of…
Pawel
  • 80
  • 5
1
vote
1 answer

Sharepoint: Custom SiteMapProvider for custom list

I need to customise the title property for SiteMapNodes. I am using WSS, and have created a custom document library. While navigating through this library I want to change the names of the nodes in the breadcrumb displayed above the list name. So…
Arnhem
  • 43
  • 1
  • 2
  • 5
1
vote
1 answer

Can ASP.NET MVC SiteMap provider use arbitrary resources?

At this page the author wrote that the resources must be in special application folder (App_GlobalResources). OK, I put them in it. But in my project I use a tree of resource folders which reflects the tree of my views/models/etc. folders. So in…
user808128
  • 511
  • 1
  • 7
  • 24
0
votes
1 answer

xmlsitemapprovider multiple nodes with same URL

Google it around but cannot get the answer.
etlds
  • 5,810
  • 2
  • 23
  • 30
0
votes
1 answer

Error XmlSiteMapProvider does not exist

///This is my Agent.sitemap
harsh
  • 109
  • 1
  • 6
  • 22
0
votes
2 answers

Faking SiteMap.CurrentNode to use another existing SiteMapNode

My site is dynamically creating the sitemap from both database and xml data. This is working great, however, for a portion of the site that lists news articles it was decided to not put the news article detail pages in the site map. So if you were…
Dmase05
  • 1,059
  • 15
  • 18