Skip to main content

UnboundSiteMapProvider.FindSiteMapNode(String) Method

Returns a site map node object that represents the page at the specified URL.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web


public override SiteMapNode FindSiteMapNode(
    string rawUrl


Name Type Description
rawUrl String

An URL that identifies the page for which to retrieve a SiteMapNode object.


Type Description

A SiteMapNode that represents the page identified by the rawUrl parameter’s value.


The FindSiteMapNode method can be used to obtain a site map node specified by the URL passed via the rawUrl parameter. The UnboundSiteMapProvider object overrides the FindSiteMapNode method to ensure that any linked child providers are searched for the node if the implementation of the base class does not return a node for the specified URL.

The rawUrl parameter should be either an absolute virtual path or an application-relative path, depending on the way it is specified in the XML site map data file.

The UnboundSiteMapProvider class uses the URL of a site map node object as a key in various collections that the class maintains. Therefore, these URLs must be unique within the scope of the site map. If the URL is not found within the immediate site map data that is managed by the UnboundSiteMapProvider, it calls the FindSiteMapNode on each child provider that is linked to it through the provider attribute of its site map nodes.

See Also