DynamicRouteExpression.SetContext Method

Definition

Sets the HTTP context of the DynamicRouteExpression object.

C#
public override void SetContext(System.Web.UI.Control owner, System.Web.HttpContext context, System.Web.UI.WebControls.IQueryableDataSource dataSource);

Parameters

owner
Control

The control that contains the DynamicRouteExpression instance. This is a QueryExtender control.

context
HttpContext

The Web request context.

dataSource
IQueryableDataSource

The target data source for the DynamicRouteExpression instance.

Applies to

Produkt Verze
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1