System.Web.UI.WebControls.BaseDataBoundControl.RequiresDataBinding Property

Gets or sets a value indicating whether the BaseDataBoundControl.DataBind method should be called.

Syntax

protected bool RequiresDataBinding { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If you set the BaseDataBoundControl.RequiresDataBinding property to true when the data-bound control has already begun to render its output to the page, the current HTTP request is not a callback, and you are using the BaseDataBoundControl.DataSourceID property to identify the data source control to bind to, the BaseDataBoundControl.DataBind method is called immediately. In this case, the BaseDataBoundControl.RequiresDataBinding property is not actually set to true.

Requirements

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