System.Web.UI.WebControls.QueryStringParameter.Evaluate Method

Updates and returns the value of the System.Web.UI.WebControls.QueryStringParameter object.

Syntax

protected override object Evaluate (System.Web.HttpContext ctx, System.Web.UI.Control control)

Parameters

ctx
Documentation for this section has not yet been entered.
control
A Web server control that is associated with the ASP.NET Web page where the System.Web.UI.WebControls.QueryStringParameter object is used.

Returns

An object that represents the current value of the parameter. If the context or the request is null, the QueryStringParameter.Evaluate(System.Web.HttpContext, System.Web.UI.Control) method returns null.

Remarks

The System.Web.UI.WebControls.QueryStringParameter object tries to bind to the query-string field every time that the QueryStringParameter.Evaluate(System.Web.HttpContext, System.Web.UI.Control) method is called.

The context parameter is used by the QueryStringParameter.Evaluate(System.Web.HttpContext, System.Web.UI.Control) method to retrieve the value of the specified query-string field from the query string. The control parameter is ignored.

Requirements

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