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 - use the Variations Client Side OM instead",  _
    False)> _
Protected Overrides Sub PerformDataBinding
'Usage

Me.PerformDataBinding()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[ObsoleteAttribute("Use of this control is not recommended - use the Variations Client Side OM instead", 
    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