CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 3/31/2008 2:45:28 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 38 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
hurzwurz
Asp.Net User
sitemappath - filled by folder3/31/2008 2:45:28 PM

0/0

 Hi

I dont want to write all pages in the web.sitemap by my own

so is there a possibillity to do that automatically?

 for example to refere to a folder and all included files are then shown in the sitemappath if navigated on this site?

 

I already have a web.sitemap but I only wan to use it for the menu

 

so my idea is, that you only can select the pages which are registered in the web.sitemap from the menu

but if theres some page below the registred ones its also shown in the sitemappath (but not in the menu)

how to realize that?
thanks!


 

volland
Asp.Net User
Re: sitemappath - filled by folder3/31/2008 3:17:39 PM

0/0

 The first on is easy :). You will describe the items in your web.sitemap. And bind the Asp:Menu control with it...

The second has two solutions that I have in mind:
For displaying it ... may-be another asp:Menu control

1. First solution :
You should have another FullWeb.sitemap. And another sitemap provider. The only disadvantage is that you should fill in all available pages in the FullWeb.sitemap

<siteMap defaultProvider="defaultProvider">
<providers>
<add name="defaultProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/Web.sitemap"/>
<add name="fullProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/FullWeb.sitemap"/>
</providers>
</siteMap>
<asp:SiteMapDataSource ID="fullSiteMapDataSource" runat="server" SiteMapProvider="fullProvider" /> 

 2. Second solution

make your own SiteMapProvider. But this is some kind of challenge :)

 

public class MyProvider : SiteMapProvider
{
public override SiteMapNode FindSiteMapNode(string rawUrl)
{
}

public override SiteMapNodeCollection GetChildNodes(SiteMapNode node)
{
}

public override SiteMapNode GetParentNode(SiteMapNode node)
{
}

protected override SiteMapNode GetRootNodeCore()
{
}
}
 
<siteMap defaultProvider="defaultProvider">
<providers>
<add name="defaultProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/Web.sitemap"/>
<add name="fullProvider" type="SiteMapProvider" siteMapFile="~/FullWeb.sitemap"/>
</providers>
</siteMap>
 <asp:SiteMapDataSource ID="fullSiteMapDataSource" runat="server" SiteMapProvider="fullProvider" /> 
 
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006

Web:
ng.asp-net-forum.master_pages_themes_and_navigation_controls/5 ... How to add external url into sitemap, 10, 12, 3/31/2008 3:54:37 PM. sitemappath - filled by folder, 1, 13, 3/31/2008 3:17:39 PM ...
ASP.NET Wiki The SiteMapPath (also known as breadcrumb) control is a navigation control that ... the files for a specific folder and allow the user to download them. ...
Advanced Site Functionality - ASP.NET 2.0 Right click on the Website root folder and select Add New item… ... The SiteMapPath is customizable. The links will appear as: Home > Courses > Web ...
Make sitemapnode not clickable? - ASP.NET Forums I can't have each 'folder node' set to "#" as each node has to be unique. I was capturing the ItemDataBound event of the SiteMapPath object ...
Constructing ASP.NET Web Pages Oct 9, 2008 ... The SiteMapPath control provides the functionality to generate a ..... Create a Web Form named ControlTest.aspx in your project folder, ...
asp.net help: Walkthrough: Managing Web Site Users with Roles Right-click the root of your Web site, click New Folder, and then name the folder GuestPages. ... The Roles box is filled in with a list of available roles . ...
Customizing WSS 3.0 with Master Pages: ASP Alliance ... be mentioning the complete folder path but will just use the word 12 hive. .... Free Simple Google XML SiteMap and HTML Site Map Script Jul 25, 2005 ... your Simple Sitemaps installation before the queue is filled up. .... by uploading the WinZip-folder instead of uploading the files from ...
ASP 101 - Build Your Own ASP.NET 2.0 Web Site Using C# & VB, 2nd ... Create the file in the Learning folder you created in Chapter 1. ...... The SiteMapPath control provides the functionality to generate a breadcrumb ...
ASP.NET Development Hi, How can I bind sitemappath (breadcrumb control of asp.net) to a custom .... asp.net BIN folder hiding automatically in IIS and Windows Explorer ...




Search This Site:










your master pages "best practices"?

question regarding scroll attributes in the menu control.

on-demand loading with a sitemap datasource???

btnsubmit_click event does not fire when the page is used with a master page

page title from site map

how dynamically make and show asp.net menu items using xml datasource?

aspnet 2 menu control and ie 5

create master page with css and divs

onblur action - no longer working (textboxes)

centering static level menu item text (how?)

title error render

help with sitemap - menu controls

best practice for navigation menu using images...

how do i set "visited page" css when using masterpages

stop page flickering on tree node expand/collapse

getting data form sql server 2005 to a web.sitemap file

adding pages to master page

unselected menu item creates unhandled exception when signing out

access master page controls

sitemap file popualated from sql server database

images not working in a standard treeview

very basic help on masterpage

tree view control in vs 2005

treeview's treeview_hovernode error

using multiple sitemap files in your web site

populate current date in master page

treeview control node text

the provider 'sitemapdatasource1' specified for the defaultprovider does not exist in the providers collection.

css not applied in any pages with a theme

how to refresh the content place holder only without ajax

  Privacy | Contact Us
All Times Are GMT