I have a web.sitemap like this:
<siteMapNode url="~/Default.aspx" title="Home" description="" >
<siteMapNode title="Node 1" description="">
<siteMapNode url="" title="Node 1-1" description="" />
<siteMapNode url="" title="Node 1-2" description="" />
</siteMapNode>
<siteMapNode title="Node 2" description="">
...
I have this sitemap:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0">
<siteMapNode>
<siteMapNode url="www.google.com" title="Google" roles="*" />
<siteMapNode url="www.zdnet.com" title="Zdnet" roles="NonExistingRole" />
<siteMapNode url="www.microsoft.com" ti...
The project I am working allows users to create pages in a CMS type system.
I would like to use an asp.net sitemap to reference these pages. So when a page is added or moved the Xml sitemap would be updated.
Is this a practical solution and are there any solutions available that work similar to this?
...
I was setting up permissions for pages in a ASP.NET website with <location> tags in web.config, something similar to this:
<location path="Users.aspx">
<system.web>
<authorization>
<allow roles="Administrator"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
However, I also have a web.sitemap whic...
Hi
I'm naive in ASP.NET , I use web.siteMap and siteMapPath control in my Web app , I can define static address in web.siteMap , But i have pages that use QueryString as a parameter and show different result , Like : ~/NewsDetails.aspx?NewsId=X
So i followed and wrote my own custom DynamicSiteMapPath like the answer of [this address]...
Hi,
I have an ASP.NET Menu control that works based on a Web.Sitemap. Web.Sitemap does not allow me to have more than one item in its root. But I need my menu show more than one item in its root. Is it possible?
My sitemap is like:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File...
I have a company name that always needs to be italicized. I have navigation that is driven by my sitemap and I can not figure out how to italicize the word. The word is always the same, so I thought about some Jscript, but was wondering if I had any other options. Thank You.
...
Hi,
I'm developing a web application and i'm using culture info localization.
All the localization resources of my application are in another project containing only resource (resx) files. This architecture is used because I have other applications using the same resources.
My problem now is the localization of web.sitemap. Currently I...
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 <li> elements as necessary.
...
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 colors) The menu is setup as dynamic so Fruit and Color are static and the specific frui...
Hello,
I have a web.sitemap with several hundred nodes which contain the properties "url", "title", and "description." I then use a TreeView to display certain elements of this sitemap depending on the location of the file. My question is: how can i display the description associated with each node as plain text immediately below the lin...
Hi,
I've a web application having web.sitemap (on root folder where web.config exists) in it to build a menu in master page. It works fine when I run it from Visual studio 2008 (vai development server on system tray) but when I run it under IIS 7 virtual directory (windows server 2008), it does not read the web.sitemap file and do not ...