DataControlExtensions.EnableDynamicData Method (INamingContainer, Type)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Enables Dynamic Data behavior for the specified data control.

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

public static void EnableDynamicData(
	this INamingContainer control,
	Type entityType
)

Parameters

control
Type: System.Web.UI.INamingContainer

The data control to enable Dynamic Data behavior for.

entityType
Type: System.Type

The type to use for metadata.

.NET Framework
Available since 4.0
Return to top
Show: