System.Web.UI.WebControls.Menu.EnsureDataBound Method

Verifies that the menu control requires data binding and that a valid data source control is specified before calling the Menu.DataBind method.

Syntax

protected override void EnsureDataBound ()

Remarks

Note:

This method is used primarily by control developers to extend the System.Web.UI.WebControls.Menu control.

Requirements

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