System.Web.UI.WebControls.Parameter.DefaultValue Property

Specifies a default value for the parameter, should the value that the parameter is bound to be uninitialized when the Parameter.Evaluate(System.Web.HttpContext, System.Web.UI.Control) method is called.

Syntax

[System.ComponentModel.DefaultValue(null)]
public string DefaultValue { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The Parameter.DefaultValue property is used in scenarios where the parameter is bound to a value, but the value is null or cannot be resolved when the System.Web.UI.WebControls.Parameter object is evaluated.

If the Parameter.DefaultValue property of the parameter is changed, the Parameter.OnParameterChanged method is called.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0