Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SiteMapProvider::SiteMapResolve Event

 

Occurs when the CurrentNode property is called.

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

public:
event SiteMapResolveEventHandler^ SiteMapResolve {
	void add(SiteMapResolveEventHandler^ value);
	void remove(SiteMapResolveEventHandler^ value);
}

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 NIB: Consuming Events.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft