Uredi

Deli z drugimi prek


DynamicFilterExpression.SetContext Method

Definition

Initializes the expression with data source information.

public:
 override void SetContext(System::Web::UI::Control ^ owner, System::Web::HttpContext ^ context, System::Web::UI::WebControls::IQueryableDataSource ^ dataSource);
public override void SetContext (System.Web.UI.Control owner, System.Web.HttpContext context, System.Web.UI.WebControls.IQueryableDataSource dataSource);
override this.SetContext : System.Web.UI.Control * System.Web.HttpContext * System.Web.UI.WebControls.IQueryableDataSource -> unit
Public Overrides Sub SetContext (owner As Control, context As HttpContext, dataSource As IQueryableDataSource)

Parameters

owner
Control

The control that contains the DynamicFilterExpression instance, such as the QueryExtender control.

context
HttpContext

The current HttpContext object.

dataSource
IQueryableDataSource

The target data source for the DynamicFilterExpression instance.

Applies to