System.Web.SiteMap.SiteMapResolve Event

Occurs when the SiteMap.CurrentNode property is accessed.

Syntax

public static event SiteMapResolveEventHandler SiteMapResolve

Remarks

Subscribers attach a System.Web.SiteMapResolveEventHandler object to the static SiteMap.SiteMapResolve event to receive notification when the SiteMap.CurrentNode property is accessed. This enables the user to implement custom logic when creating a System.Web.SiteMapNode representation of the currently executing page without requiring a custom provider implementation.

If you subscribe to the SiteMap.SiteMapResolve event, you also subscribe to the SiteMapProvider.SiteMapResolve event on the default site map provider.

Requirements

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