Sitecore 5.0 API

StateContext.DataBind Property

Gets or sets a boolean that indicates if the DataBind method should be called for current page.

[Visual Basic]
Public Property DataBind As Boolean
[C#]
public bool DataBind {get; set;}

Property Value

True, if DataBind should be called, otherwise false.

Remarks

This flag indicates if the DataBind method should be called by the web engine.

The default value is controlled by AutomaticDataBind.

The scope of the value is page and it is stored in the Items variable "SC_DATA_BIND".

See Also

StateContext Class | Sitecore.Configuration Namespace