Share via


VariationsLabelEcbMenu.PerformDataBinding Method

NOTE: This API is now obsolete.

Binds data.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<ObsoleteAttribute("Use of this control is not recommended.", False)> _
Protected Overrides Sub PerformDataBinding
'Usage

Me.PerformDataBinding()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[ObsoleteAttribute("Use of this control is not recommended.", false)]
protected override void PerformDataBinding()

Remarks

Variations uses this method instead of the DataBind method because the code derives from the HierarchicalDataBoundControl class. Placing this control's data-binding logic in PerformDataBinding keeps the DataBinding and DataBound events from being raised in the wrong order. This is the Microsoft ASP.NET 2.0 approach for Hierarchical data sources.

See Also

Reference

VariationsLabelEcbMenu Class

VariationsLabelEcbMenu Members

Microsoft.SharePoint.Publishing.WebControls Namespace