Updates and returns the value of the System.Web.UI.WebControls.ControlParameter object.
- ctx
- Documentation for this section has not yet been entered.
- control
- The System.Web.UI.Control that the parameter is bound to.
An object that represents the updated and current value of the parameter.
The System.Web.UI.WebControls.ControlParameter object attempts to bind to the System.Web.UI.Control object and property every time the ControlParameter.Evaluate(System.Web.HttpContext, System.Web.UI.Control) method is called. The ControlParameter.Evaluate(System.Web.HttpContext, System.Web.UI.Control) method returns the value of the control's property that is identified by the combination of the ControlParameter.ControlID and ControlParameter.PropertyName properties.
The System.Web.UI.WebControls.ControlParameter class never uses the Parameter.DefaultValue property, which is inherited from System.Web.UI.WebControls.Parameter, when binding to a control's property value.
In this implementation of the method, the context parameter is ignored. If the control parameter is null, null is returned.