SiteMapProvider.SiteMapResolve Event

Occurs when the CurrentNode property is called.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

member SiteMapResolve : IEvent<SiteMapResolveEventHandler,
    SiteMapResolveEventArgs>

You can create a SiteMapNode representation of the currently requested page without implementing a custom site map provider by subscribing to the SiteMapResolve event. Subscribers attach a SiteMapResolveEventHandler object to receive notification when the CurrentNode property is called and can return a custom SiteMapNode object instead of the default one that is returned by the CurrentNode property.

For more information about handling events, see Consuming Events.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft