DataControlExtensions Class (System.Web.UI)

Switch View :
ScriptFree
.NET Framework Class Library
DataControlExtensions Class

Provides extension methods that are used by ASP.NET Dynamic Data.

Inheritance Hierarchy

System.Object
  System.Web.UI.DataControlExtensions

Namespace:  System.Web.UI
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)
Syntax

Visual Basic
<ExtensionAttribute> _
Public NotInheritable Class DataControlExtensions
C#
public static class DataControlExtensions
Visual C++
[ExtensionAttribute]
public ref class DataControlExtensions abstract sealed
F#
[<AbstractClass>]
[<Sealed>]
type DataControlExtensions =  class end
Methods

  Name Description
Public method Static member EnableDynamicData(INamingContainer, Type) Enables Dynamic Data behavior for the specified data control.
Public method Static member EnableDynamicData(INamingContainer, Type, IDictionary<String, Object>) Enables Dynamic Data behavior for the specified data control.
Public method Static member EnableDynamicData(INamingContainer, Type, Object) Enables Dynamic Data behavior for the specified data control.
Top
Remarks

The DataControlExtensions class is used to enable Dynamic Data features in ASP.NET data-bound controls.

Examples

For an example of how to enable Dynamic Data features in a data-bound control, see Walkthrough: Enabling Dynamic Data in ASP.NET Data-Bound Controls.

Version Information

.NET Framework

Supported in: 4
Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also

Reference

Other Resources