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