Questions tagged [web.sitemap]
57 questions
7
votes
1 answer
Upgrade from ASP.net 3.5 to 4.0 Results in Web.Sitemap Problems
I use the web.sitemap of my ASP.net application to help build my navigation links. This way if my navigation changes, I update the web.sitemap, and it builds my navigation automatically. However since upgrading from ASP.net 3.5 to 4.0 I'm having…

bperniciaro
- 901
- 2
- 12
- 30
6
votes
1 answer
Adding custom attributes to the SiteMap of ASP.NET MVC
I am using built in asp.net sitemap in asp.net mvc with the following schema
http://schemas.microsoft.com/AspNet/SiteMap-File-1.0
I have the following attributes, resourcekey, title & description. I would like to add few more attributes to the…

Saravanan
- 7,637
- 5
- 41
- 72
4
votes
2 answers
Creating a web.sitemap file for a ASP.NET website
I'm trying to implement breadcrumb functionality on a visual studio ASP C# site using the SiteMapPath Control.
The company I work for has inherited the site and we're primarily PHP developers so forgive the ignorance.
Originally when I dropped in…

James Billings
- 448
- 7
- 16
4
votes
4 answers
web.sitemap not found but it exists
I have an ASP.net site and I created a web.sitemap file in the root directory. It contains:

VARAK
- 835
- 10
- 27
3
votes
2 answers
Use URL WildCard in web.sitemap?
I have a rewritten URL on my site for search purposes such as:
/Search-Results/Keywords-Here.aspx
/Search-Results/abc.aspx
/Search-Results/Query.aspx
Obviously the different possibilites here are endless. Therefore, is there a way of putting…

Curtis
- 101,612
- 66
- 270
- 352
3
votes
2 answers
SiteMap change SiteMapProvider?
I've got a custom menu navigation built from a web.sitemap file, the first line of this would be something like:
SiteMapNodeCollection topLevelNodes = SiteMap.RootNode.ChildNodes;
This works - it gets all the top level nodes from the web.sitemap…

Andrew Johns
- 705
- 1
- 6
- 26
3
votes
1 answer
How to get current page title from sitemap file?
In my master page (.aspx file) I have this
to display the page title:
I also have a Web.sitemap file that holds the details of some pages (not all of pages in my applications)
What…
PAGE TITLE GOES HERE

Ronaldinho Learn Coding
- 13,254
- 24
- 83
- 110
3
votes
1 answer
How to render two menus on same page?
I'm working on a site that will have a primary and secondary navigation that I'd like to generate using ASP.NET's Menu controls. Both will be based on the web.sitemap - the primary from the root, and the secondary will be a section of nodes…

steve
- 576
- 1
- 5
- 12
2
votes
1 answer
Set CSS class 'selected' in ASP.NET menu parents and their children?
I have the following menu control embedded in the Site.master file:
…

Fawadafr
- 253
- 1
- 5
- 11
2
votes
2 answers
Can I skip nodes in ASP.NET Menu Control?
I have a web.sitemap like this:

juan
- 80,295
- 52
- 162
- 195
2
votes
3 answers
ASP.NET: Menu make parent items non-hyperlinks?
I have an asp:Menu control driven by a web.sitemap file.
For example, the menu is like:
Fruit
- Apple
- Orange
- Strawberry
Color
- Blue
- Red
- Yellow
In the sitemap, the specific fruits are children of the "Fruit" siteMapNode (likewise for the…

User
- 62,498
- 72
- 186
- 247
2
votes
2 answers
ASP.NET: What are the advantages of using sitemap-based navgiation?
Scenario: building a site where navigation will be in master page in either left or top menu. What are the advantages to using the ASP.NET navigation system based on web.sitemap files? The alternative I'm considering is just building the links in…

User
- 62,498
- 72
- 186
- 247
2
votes
1 answer
ASP.Net - Link a website in SiteMapPath
I am using SiteMapPath to display the menu.

Sobhan
- 796
- 1
- 9
- 31
2
votes
1 answer
ASP.NET Web.sitemap to Generate sitemap.xml
Basically, I'm trying to find a way to setup a handler so that will run whenever someone goes to http://www.example.com/sitemap.xml web.sitemap xml. When the user or bot hits that url I want to pull my local Web.sitemap file in my solution and…

TroySteven
- 4,885
- 4
- 32
- 50
1
vote
0 answers
Dynamic Site Map
I may be going the completely wrong direction, so any thoughts would be great. Am looking for a dynamic php sitemap code for a website that constantly has pages that get updates. Need to find a way to get the php to pull every page in the folder…

Chris
- 85
- 15