System.Web.SiteMapProvider.SiteMapResolve Event

Occurs when the SiteMapProvider.CurrentNode property is called.


public event SiteMapResolveEventHandler SiteMapResolve


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

For more information about handling events, see Consuming Events.


Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions:
Since: .NET 2.0