Provides an interface that classes implement to provide navigation user interface data and values to navigation controls.

See Also: INavigateUIData Members


public interface INavigateUIData


The System.Web.UI.INavigateUIData interface allows navigation controls, such as the System.Web.UI.WebControls.TreeView and System.Web.UI.WebControls.Menu controls, to automatically render data from a data source that represents hierarchical site navigation data. The System.Web.UI.INavigateUIData interface is implemented by the System.Web.SiteMapNode type that is returned from the System.Web.UI.WebControls.SiteMapDataSource control so that navigation controls can render data automatically without a page developer explicitly defining the data binding associations to the properties of System.Web.SiteMapNode. For example, the System.Web.UI.WebControls.SiteMapDataSource control enables declarative data binding so that a page developer does not have to populate the System.Web.UI.WebControls.TreeView.DataBindings or System.Web.UI.WebControls.Menu.DataBindings properties explicitly for the System.Web.UI.WebControls.TreeView and System.Web.UI.WebControls.Menu controls, respectively.

The System.Web.UI.INavigateUIData interface can also be implemented on objects that are returned by an System.Web.UI.WebControls.ObjectDataSource control in order to enable automatic rendering of navigation control without explicit data binding.


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