Export (0) Print
Expand All
1 out of 4 rated this helpful - Rate this topic

Control.BindingContainer Property

This property supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets the control that contains this control's data binding.

Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
[BindableAttribute(false)] 
public Control BindingContainer { get; }
/** @property */
public Control get_BindingContainer ()

public function get BindingContainer () : Control

Not applicable.

Property Value

The Control that contains this control's data binding.

The BindingContainer property contains a reference to the Control object that contains the data-binding information for the current control.

The BindingContainer property is the same as the NamingContainer property, except when the control is part of a template. In that case, the BindingContainer property is set to the Control that defines the template.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.