DataControlExtensions.EnableDynamicData Method (INamingContainer, Type, IDictionary(Of String, Object))

.NET Framework (current version)
 

Enables Dynamic Data behavior for the specified data control.

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

<ExtensionAttribute>
Public Shared Sub EnableDynamicData (
	control As INamingContainer,
	entityType As Type,
	defaultValues As IDictionary(Of String, Object)
)

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.

defaultValues
Type: System.Collections.Generic.IDictionary(Of String, Object)

The default values to use with the INamingContainer object.

.NET Framework
Available since 4.0
Return to top
Show: