DataControlExtensions::EnableDynamicData Method (INamingContainer^, Type^, Object^)
.NET Framework (current version)
Enables Dynamic Data behavior for the specified data control.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
public: [ExtensionAttribute] static void EnableDynamicData( INamingContainer^ control, Type^ entityType, Object^ defaults )
Parameters
- control
-
Type:
System.Web.UI::INamingContainer^
The data control to enable Dynamic Data behavior for.
- entityType
-
Type:
System::Type^
The type that represents the table to display.
- defaults
-
Type:
System::Object^
The default values to use with the INamingContainer object.
.NET Framework
Available since 4.0
Available since 4.0
Show: