ControlAttribute Constructor

.NET Framework (current version)
 

Initializes a new instance of the ControlAttribute class.

Namespace:   System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodControlAttribute()

Initializes a new instance of the ControlAttribute class.

System_CAPS_pubmethodControlAttribute(String^)

Initializes a new instance of the ControlAttribute class using the specified control ID.

System_CAPS_pubmethodControlAttribute(String^, String^)

Initializes a new instance of the ControlAttribute class using the specified control ID and property name.

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

Return to top
Show: