DynamicQueryStringParameter.Evaluate(HttpContext, Control) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Throws an InvalidOperationException exception in all cases.
protected:
override System::Object ^ Evaluate(System::Web::HttpContext ^ context, System::Web::UI::Control ^ control);
protected override object Evaluate (System.Web.HttpContext context, System.Web.UI.Control control);
override this.Evaluate : System.Web.HttpContext * System.Web.UI.Control -> obj
Protected Overrides Function Evaluate (context As HttpContext, control As Control) As Object
Parameters
- context
- HttpContext
Information about the HTTP request.
- control
- Control
The control the parameter is bound to.
Returns
Throws an InvalidOperationException exception in all cases.
Remarks
If the Evaluate method is invoked by ASP.NET, it throws an T:System.InvalidOperationException exception in all cases. This happens because one of the following conditions are met:
The page does not contain a DynamicDataManager control.
The data-bound control is not registered for use by the DynamicDataManager control.