Gets or sets the property name of the control identified by the ControlParameter.ControlID property that the System.Web.UI.WebControls.ControlParameter object binds to.
Documentation for this section has not yet been entered.
The ControlParameter.PropertyName property identifies the public property of the System.Web.UI.Control object identified by the ControlParameter.ControlID property that the System.Web.UI.WebControls.ControlParameter object binds to at run time. ControlParameter.PropertyName can be set to a simple string, such as "SelectedValue", or an expression using erload:System.Web.UI.DataBinder.Eval syntax to identify complex control properties.
While the ControlParameter.PropertyName property is optional, typically both ControlParameter.ControlID and ControlParameter.PropertyName properties are set for the ControlParameter.Evaluate(System.Web.HttpContext, System.Web.UI.Control) method to correctly bind to a control. If you set the ControlParameter.ControlID property but not the ControlParameter.PropertyName property, the ControlParameter.Evaluate(System.Web.HttpContext, System.Web.UI.Control) method attempts to use the System.Web.UI.ControlValuePropertyAttribute attribute to identify a default ControlParameter.PropertyName property. (It is the responsibility of control authors to specify this attribute.) If this fails, ControlParameter.Evaluate(System.Web.HttpContext, System.Web.UI.Control) throws an ArgumentException exception.
The following table identifies which ASP.NET controls decorate properties with the System.Web.UI.ControlValuePropertyAttribute attribute.