Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Context Property

DataSourceExpression.Context Property

.NET Framework 4.6 and 4.5

Gets the HttpContext instance of the owner control.

Namespace:  System.Web.UI.WebControls.Expressions
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

protected HttpContext Context { get; private set; }

Property Value

Type: System.Web.HttpContext
The HTTP context instance of the owner control.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft