IEditableSiteMapProvider members

This interface provides a contract for SiteMapProvider classes that support inline editing and navigation retrieval for the client.

The IEditableSiteMapProvider type exposes the following members.

Properties

  Name Description
Public property EditLinksAlternateAction Returns the JavaScript code that runs when the "Edit Links" link is clicked. When null is returned, the default inline navigation editing feature is activated by clicking on "Edit Links".
Public property IsEditable Returns whether the Navigation Provider that implements this interface allows editing of its navigation nodes.
Public property MaximumSupportedNodeDepth Returns the number of node tree levels that the Navigation Provider implementation supports. A maximum depth of 0 indicates no depth limit. The navigation menu uses this property value to limit the overall maximum depth that a user is allowed to create in order to avoid skipping nodes when rendering the menu again.

Top

Methods

  Name Description
Public method GetMenuState Returns the subtree of child nodes of the specified starting node, truncated to the specified maximum depth. In general, the starting node will be either SiteMapProvider.RootNode or SiteMapProvider.CurrentNode, depending on the configuration.
Public method SaveUpdatedMenuState Updates the SiteMapProvider's data to apply the changes from newState.

Top

See also

Reference

IEditableSiteMapProvider interface

Microsoft.SharePoint.Navigation namespace