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