100 references to Response
System.Web (68)
UI\Page.cs (48)
3532HttpCachePolicy cache = Response.Cache; 3667Response.Cache.SetNoStore(); 3774Response.AddCacheDependency(SqlCacheDependency.CreateOutputCacheDependency(sqlDependency)); 3787set { Response.AddFileDependencies(value); } 3801Response.AddVirtualPathDependencies((string[])virtualFileDependencies); 3811set { Response.BufferOutput = value; } 3812get { return Response.BufferOutput; } 3820set { Response.ContentType = value; } 3821get { return Response.ContentType; } 3829set { Response.ContentEncoding = Encoding.GetEncoding(value); } 3830get { return Response.ContentEncoding.CodePage; } 3838set { Response.ContentEncoding = Encoding.GetEncoding(value); } 3839get { return Response.ContentEncoding.EncodingName; } 4592Trace.Render(CreateHtmlTextWriter(Response.Output)); 4595Response.Cache.SetCacheability(HttpCacheability.NoCache); 4866RenderControl(CreateHtmlTextWriter(Response.Output)); 5187RenderControl(CreateHtmlTextWriter(Response.Output)); 5269Response.Redirect(Request.RawUrl, false); 5273Response.Cache.SetCacheability(HttpCacheability.NoCache); 5274Response.Expires = 0; 5275Response.ContentType = "application/mswebpart"; 5281Response.AddHeader("content-disposition", "attachment; filename=" + 5284using (XmlTextWriter writer = new XmlTextWriter(Response.Output)) { 5312Response.Cache.SetNoStore(); 5325Response.Clear(); 5326Response.Write('e'); 5328Response.Write(SR.GetString(SR.Page_CallBackError)); 5332Response.Write(needsCallbackLoadScript ? 5345Response.Cache.SetNoStore(); 5361Response.Clear(); 5362Response.Write('e'); 5364Response.Write(SR.GetString(SR.Page_CallBackError)); 5368Response.Write(needsCallbackLoadScript ? 5396Response.Write("<script>parent.__pendingCallbacks["); 5397Response.Write(index); 5398Response.Write("].xmlRequest.responseText=\""); 5405Response.Write(validation.Length.ToString(CultureInfo.InvariantCulture)); 5406Response.Write('|'); 5407Response.Write(validation); 5410Response.Write('s'); 5412Response.Write(needsCallbackLoadScript ? Util.QuoteJScriptString(result) : result); 5416Response.Write("\";parent.__pendingCallbacks["); 5417Response.Write(index); 5418Response.Write("].xmlRequest.readyState=4;parent.WebForm_CallbackComplete();</script>"); 5422Response.Clear(); 5423Response.Write('e'); 5425Response.Write(SR.GetString(SR.Page_CallBackError)); 5428Response.Write(needsCallbackLoadScript ?
UI\PageAdapter.cs (1)
216url = Page.Response.ApplyAppPathModifier(Page.Request.CurrentExecutionFilePath);
UI\UserControl.cs (1)
169public HttpResponse Response { get { return Page.Response; } }
UI\WebControls\AdRotator.cs (2)
391Page.Response.HasCachePolicy && 392(int)Page.Response.Cache.GetCacheability() != (int)HttpCacheabilityLimits.None) {
UI\WebControls\ChangePassword.cs (3)
1946Page.Response.Redirect(ResolveClientUrl(cancelPageUrl), false); 2000Page.Response.Redirect(ResolveClientUrl(continuePageUrl), false); 2073Page.Response.Redirect(ResolveClientUrl(successPageUrl), false);
UI\WebControls\CreateUserWizard.cs (1)
2695Page.Response.Redirect(ResolveClientUrl(continuePageUrl), false);
UI\WebControls\login.cs (1)
1097Page.Response.Redirect(GetRedirectUrl(), false);
UI\WebControls\loginstatus.cs (7)
290Page.Response.Clear(); 291Page.Response.StatusCode = 200; 301Page.Response.Redirect(FormsAuthentication.LoginUrl, false); 309Page.Response.Redirect(Page.Request.ClientFilePath.VirtualPathString, false); 312Page.Response.Redirect(Page.Request.RawUrl, false); 324Page.Response.Redirect(url, false); 330Page.Response.Redirect(ResolveClientUrl(NavigateUrl), false);
UI\WebControls\PasswordRecovery.cs (1)
1576Page.Response.Redirect(ResolveClientUrl(successPageUrl), false);
UI\WebControls\Substitution.cs (1)
124Page.Response.WriteSubstitution(callback);
UI\WebControls\Wizard.cs (2)
1862Page.Response.Redirect(ResolveClientUrl(cancelDestinationUrl), false); 1883Page.Response.Redirect(ResolveClientUrl(finishPageUrl), false);
System.Web.DataVisualization (5)
WebForm\ChartWebControl.cs (5)
711this.Page.Response.ContentType = "image/bmp"; 714this.Page.Response.ContentType = "image/jpeg"; 717this.Page.Response.ContentType = "image/png"; 721this.Page.Response.Charset = ""; 726this.Page.Response.BinaryWrite(stream.GetBuffer());
System.Web.Extensions (1)
UI\PageWrapper.cs (1)
90return new HttpResponseInternalWrapper(_page.Response);
System.Web.Mobile (26)
UI\MobileControls\Adapters\ChtmlFormAdapter.cs (1)
114String charset = Page.Response.Charset;
UI\MobileControls\Adapters\HtmlFormAdapter.cs (1)
229String charset = Page.Response.Charset;
UI\MobileControls\Adapters\HtmlPageAdapter.cs (2)
94Page.Response.AppendHeader("Pragma", "no-cache"); 129writer.BeginFile(GetFormUrl(form), "text/html", Page.Response.Charset);
UI\MobileControls\Adapters\WmlPageAdapter.cs (8)
206Page.Response.ContentType = _contentType; 221Page.Response.ContentEncoding = UTF8Encoding; 225wmlWriter.BeginFile(Page.Request.Url.ToString(), _contentType, Page.Response.Charset); 239Page.Response.AppendHeader("Cache-Control", "max-age=0"); 340Page.Response.ContentEncoding = UTF8Encoding; 344writer.BeginFile(Page.Request.Url.ToString(), _contentType, Page.Response.Charset); 356Page.Response.AppendHeader("Cache-Control", "max-age=0"); 404String charset = Page.Response.Charset;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicControlAdapter.cs (2)
180target = Page.Response.ApplyAppPathModifier(Control.TemplateSourceDirectory); 199String prefix = writer.EncodeUrlInternal(Page.Response.ApplyAppPathModifier(Page.TemplateSourceDirectory));
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPageAdapter.cs (2)
360Page.Response.AppendHeader("Pragma", "no-cache"); 376writer.BeginFile (Page.Request.Url.ToString (), Page.Device.PreferredRenderingMime, Page.Response.Charset);
UI\MobileControls\MobilePage.cs (10)
459path = Response.ApplyAppPathModifier(path); 532_absoluteFilePath = Response.ApplyAppPathModifier(Context.Request.CurrentExecutionFilePath); 772Response.Redirect(url, endResponse); 851Response.Cache.SetCacheability(HttpCacheability.ServerAndPrivate); 852Response.Cache.VaryByHeaders[UserAgentHeader] = true; 859Response.Cache.VaryByHeaders[header] = true; 1273Response.Expires = 0; 1277Response.Expires = HttpContext.Current.Session.Timeout; 1398Response.Clear(); 1399if (Adapter.HandleError(error, (HtmlTextWriter)CreateHtmlTextWriter(Response.Output)))