System.Web.UI.WebControls.SiteMapPath.DataBind Method

Binds a data source to the System.Web.UI.WebControls.SiteMapPath control and its child controls.

Syntax

public override void DataBind ()

Remarks

The System.Web.UI.WebControls.SiteMapPath control is designed to retrieve its data directly from a site map provider by using the SiteMapPath.Provider property. Do not use the System.Web.UI.WebControls.SiteMapPath control to bind to ASP.NET data source controls, and do not call the SiteMapPath.DataBind method explicitly.

Requirements

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