1 override of Context
System.Web (1)
UI\Page.cs (1)
621
protected internal override HttpContext
Context
{
102 references to Context
System.Web (73)
UI\Control.cs (8)
203
HttpContext context =
Context
;
415
HttpContext context =
Context
;
961
HttpContext context =
Context
;
1004
HttpContext context =
Context
;
1035
VirtualPathData data = RouteCollection.GetVirtualPath(
Context
.Request.RequestContext, routeName, routeParameters);
1179
HttpContext context =
Context
;
3006
return
Context
.Response.ApplyAppPathModifier(url);
3033
string baseRequestDir =
Context
.Request.ClientBaseDir.VirtualPathString;
UI\HtmlControls\HtmlInputFile.cs (1)
124
get { return
Context
.Request.Files[RenderedNameAttribute];}
UI\HtmlForm.cs (8)
275
VirtualPath clientFilePath =
Context
.Request.ClientFilePath;
283
if (
Context
.ServerExecuteDepth == 0) {
295
VirtualPath currentFilePath =
Context
.Request.CurrentExecutionFilePathObject;
303
bool cookieless = CookielessHelperClass.UseCookieless(
Context
, false, FormsAuthentication.CookieMode);
304
if (cookieless &&
Context
.Request != null &&
Context
.Response != null) {
305
action =
Context
.Response.ApplyAppPathModifier(action);
464
if (page != null && httpWriter != null && RuntimeConfig.GetConfig(
Context
).Pages.RenderAllHiddenFieldsAtTopOfForm) {
UI\MasterPage.cs (1)
113
_master = MasterPage.CreateMaster(this,
Context
, _masterPageFile, _contentTemplateCollection);
UI\PartialCachingControl.cs (5)
367
TextWriter savedWriter =
Context
.Response.SwitchWriter(tmpWriter);
376
Context
.Response.SwitchWriter(savedWriter);
453
HttpBrowserCapabilities browserCap =
Context
.Request.Browser;
538
string customString =
Context
.ApplicationInstance.GetVaryByCustomString(
539
Context
, cachedVary._varyByCustom);
UI\TemplateControl.cs (3)
352
return(
Context
.Request.Browser.IsBrowser(filterName));
605
BuildResult result = BuildManager.GetVPathBuildResult(
Context
, virtualPath);
770
Context
, virtualPath);
UI\WebControls\AccessDataSource.cs (2)
214
return new AccessDataSourceView(this, viewName,
Context
);
236
filename =
Context
.Request.MapPath(filename, AppRelativeTemplateSourceDirectory, true);
UI\WebControls\AdRotator.cs (1)
396
adPostCacheSubstitution.RegisterPostCacheCallBack(
Context
, Page, writer);
UI\WebControls\CheckBoxList.cs (1)
298
if (!DesignMode && !
Context
.Request.Browser.Tables) {
UI\WebControls\DataListItem.cs (1)
102
HttpContext con =
Context
;
UI\WebControls\DetailsView.cs (1)
2163
if (EnablePagingCallbacks && (
Context
!= null) && (Page != null) && (Page.RequestInternal != null) && Page.Request.Browser.SupportsCallback && !IsParentedToUpdatePanel) {
UI\WebControls\FileUpload.cs (2)
195
return
Context
.Request.Files[UniqueID];
211
result =
Context
.Request.Files.GetMultiple(UniqueID);
UI\WebControls\GridView.cs (1)
2729
if (EnableSortingAndPagingCallbacks && (
Context
!= null) && (Page != null) && (Page.RequestInternal != null) && Page.Request.Browser.SupportsCallback && !IsParentedToUpdatePanel) {
UI\WebControls\login.cs (1)
1316
return AuthenticationConfig.AccessingLoginPage(
Context
, System.Web.Security.FormsAuthentication.LoginUrl);
UI\WebControls\ObjectDataSource.cs (4)
833
IDictionary parameters = SelectParameters.GetValues(
Context
, this);
867
_view = new ObjectDataSourceView(this, DefaultViewName,
Context
);
920
SelectParameters.UpdateValues(
Context
, this);
921
FilterParameters.UpdateValues(
Context
, this);
UI\WebControls\RadioButtonList.cs (1)
342
if (!DesignMode && !
Context
.Request.Browser.Tables) {
UI\WebControls\SiteMapPath.cs (2)
598
link.NavigateUrl =
Context
!= null ?
599
Context
.Response.ApplyAppPathModifier(ResolveClientUrl(HttpUtility.UrlPathEncode(node.Url))) : node.Url;
UI\WebControls\SqlDataSource.cs (4)
840
return new SqlDataSourceView(this, viewName,
Context
);
892
IDictionary parameters = SelectParameters.GetValues(
Context
, this);
1019
SelectParameters.UpdateValues(
Context
, this);
1020
FilterParameters.UpdateValues(
Context
, this);
UI\WebControls\TextBox.cs (2)
354
return
Context
!= null &&
Context
.Request.Browser["supportsVCard"] == "true";
UI\WebControls\TreeView.cs (2)
2445
if ((
Context
.Request.Form[checkBoxFieldID] != null) ||
2446
(
Context
.Request.QueryString[checkBoxFieldID] != null)) {
UI\WebParts\EditorPart.cs (2)
112
if (
Context
!= null &&
Context
.IsCustomErrorEnabled) {
UI\WebParts\PropertyGridEditorPart.cs (2)
137
if (
Context
!= null &&
Context
.IsCustomErrorEnabled) {
UI\WebParts\WebPartConnection.cs (6)
313
if (_webPartManager.
Context
!= null && _webPartManager.
Context
.IsCustomErrorEnabled) {
345
if (_webPartManager.
Context
!= null && _webPartManager.
Context
.IsCustomErrorEnabled) {
358
if (_webPartManager.
Context
!= null && _webPartManager.
Context
.IsCustomErrorEnabled) {
UI\WebParts\WebPartManager.cs (12)
2918
if ((
Context
!= null) && (
Context
.IsCustomErrorEnabled)) {
3351
if (
Context
!= null &&
Context
.IsCustomErrorEnabled) {
3370
if (
Context
!= null &&
Context
.IsCustomErrorEnabled) {
3403
if (
Context
!= null &&
Context
.IsCustomErrorEnabled) {
3411
if (
Context
!= null &&
Context
.IsCustomErrorEnabled) {
3432
if (
Context
!= null &&
Context
.IsCustomErrorEnabled) {
System.Web.DataVisualization (4)
WebForm\ChartWebControl.cs (4)
2803
if (((this.
Context
!= null) && (this.
Context
.Request != null)) && (this.
Context
.Request.Browser != null))
2805
return this.
Context
.Request.Browser.CreateHtmlTextWriter(tw);
System.Web.DynamicData (5)
DynamicData\DynamicDataManager.cs (1)
175
MetaTable table = MetaTableHelper.GetTableWithFullFallback(dataSource,
Context
.ToWrapper());
DynamicData\DynamicHyperLink.cs (1)
56
return _context ?? new HttpContextWrapper(base.
Context
);
DynamicData\FieldTemplateUserControl.cs (1)
237
_defaultValueMapping = MetaTableHelper.GetDefaultValueMapping(this,
Context
.ToWrapper());
DynamicData\FilterUserControlBase.cs (1)
225
RequestContext requestContext = DynamicDataRouteHandler.GetRequestContext(
Context
);
DynamicData\QueryableFilterUserControl.cs (1)
26
_context = context ?? new HttpContextWrapper(
Context
);
System.Web.Entity (1)
System\Data\WebControls\EntityDataSource.cs (1)
800
return base.
Context
;
System.Web.Extensions (18)
UI\ScriptManager.cs (10)
591
_isRestMethodCall = (
Context
!= null) && RestHandlerFactory.IsRestMethodCall(
Context
.Request);
600
_isSecureConnection = (
Context
!= null) && (
Context
.Request != null) &&
Context
.Request.IsSecureConnection;
1094
ProfileServiceManager.ConfigureProfileService(ref sb,
Context
, this, _proxies);
1095
AuthenticationServiceManager.ConfigureAuthenticationService(ref sb,
Context
, this, _proxies);
1096
RoleServiceManager.ConfigureRoleService(ref sb,
Context
, this, _proxies);
1792
string pageMethods = PageClientProxyGenerator.GetClientProxyScript(
Context
, IPage, IsDebuggingEnabled);
2085
return new System.Web.HttpContextWrapper(
Context
);
UI\ScriptManagerProxy.cs (1)
260
return new System.Web.HttpContextWrapper(
Context
);
UI\WebControls\LinqDataSource.cs (1)
539
return new LinqDataSourceView(this, DefaultViewName,
Context
);
UI\WebControls\QueryableDataSource.cs (5)
95
View.WhereParameters.UpdateValues(
Context
, this);
96
View.OrderGroupsByParameters.UpdateValues(
Context
, this);
97
View.GroupByParameters.UpdateValues(
Context
, this);
98
View.OrderByParameters.UpdateValues(
Context
, this);
99
View.SelectNewParameters.UpdateValues(
Context
, this);
UI\WebControls\QueryExtender.cs (1)
98
Query.Initialize(this,
Context
, DataSource);
System.Web.Mobile (1)
UI\MobileControls\MobileControl.cs (1)
393
return
Context
.Response.ApplyAppPathModifier(url);