IDReferencePropertyAttribute Constructor ()
Initializes a new instance of the IDReferencePropertyAttribute class.
Assembly: System.Web (in System.Web.dll)
The following code example demonstrates how the IDReferencePropertyAttribute attribute is applied to a property that evaluates to a string. In this example, the DataSourceID member identifies a data source control at run time. By using the default constructor, the ReferencedControlType property is set to the default value, Control.
Available since 2.0