Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:766316
More Search Options
RSS Available
Matching Posts
Re: SiteMapResolve event, global.asax and defaultProvider
Oops. I have answered my own question. In the Handle() method I was getting the currentNode from the SiteMap object (the default one), not from the custom provider. once I changed that, it worked fine.
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
msalamon
on 10/24/2007
Re: SiteMapResolve event, global.asax and defaultProvider
Thanks. I now understand what I was doing wrong. However, I am still having some problems, likely in part b/c this is part of sharepoint. My web.config looked like this, with the custom provider set as the default: <siteMap defaultProvider=" CustomProvider " enabled="true"> <!-- CurrentNavSiteMapProvider --> <providers> <add name="CustomProvider" siteMapFile="_app_bin/xyz.sitemap" type="System.Web.XmlSiteMapProvider, System.Web, Version
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
msalamon
on 10/23/2007
SiteMapResolve event, global.asax and defaultProvider
I am adding some custom behavior to the display of breadcrumbs. I had read many articles about adding an event handler in the global.axax Application_Start method to do this, as follows: SiteMap.Provider.SiteMapResolve += new SiteMapResolveEventHandler(CustomSiteMapHandler.Handle); (I have separately created the CustomSiteMapHandler class, but I could have done this within global.asax.) I have gotten this to work perfectly, provided that the asp:SiteMapPath tag I am using to render the breadcrumbs
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
msalamon
on 10/23/2007
Filed under: SiteMapResolve global.asax
Page 1 of 1 (3 items)
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online