95 references to Browser
System.Web (75)
Abstractions\HttpRequestWrapper.cs (1)
31
return new HttpBrowserCapabilitiesWrapper(_httpRequest.
Browser
);
ErrorFormatter.cs (2)
136
browser = (request != null) ? request.
Browser
: null;
267
browser = (request != null) ? request.
Browser
: null;
Handlers\TraceHandler.cs (1)
101
_response.ContentType = _request.
Browser
.PreferredRenderingMime;
HttpApplication.cs (1)
1430
return context.Request.
Browser
.Type;
HttpCookie.cs (1)
300
HttpBrowserCapabilities browser = context.Request.
Browser
;
HttpResponse.cs (2)
2450
if (Request == null || (string)Request.
Browser
["requiresPostRedirectionHandling"] != "true")
3307
(Request != null && (string)Request.
Browser
["requiresFullyQualifiedRedirectUrl"] == "true")) {
Security\AnonymousIdentificationModule.cs (3)
85
if (!CookielessHelperClass.UseCookieless(context, false, s_CookieMode) || context.Request.
Browser
.Cookies)
88
if (context.Request.
Browser
["supportsEmptyStringInCookieValue"] == "false")
178
if (context.Request.
Browser
["supportsEmptyStringInCookieValue"] == "false")
Security\CookielessHelper.cs (6)
228
bool fRet = (!context.Request.
Browser
.Cookies ||
229
!context.Request.
Browser
.SupportsRedirectWithCookie);
238
if (!context.Request.
Browser
.Cookies || !context.Request.
Browser
.SupportsRedirectWithCookie) {
326
if (!_Context.Request.
Browser
.Cookies || !_Context.Request.
Browser
.SupportsRedirectWithCookie) {
Security\FormsAuthentication.cs (2)
408
if (!CookielessHelperClass.UseCookieless(context, false, CookieMode) || context.Request.
Browser
.Cookies)
411
if (context.Request.
Browser
["supportsEmptyStringInCookieValue"] == "false")
Security\RoleManagerModule.cs (1)
174
if (rp.CachedListChanged && context.Request.
Browser
.Cookies)
Security\Roles.cs (2)
430
if (context == null || !context.Request.
Browser
.Cookies)
433
if (context.Request.
Browser
["supportsEmptyStringInCookieValue"] == "false")
UI\ClientScriptManager.cs (1)
290
if (_owner.ClientSupportsJavaScript && (_owner.RequestInternal != null) && _owner.RequestInternal.
Browser
.SupportsCallback) {
UI\Control.cs (2)
416
if (context != null && context.Request.
Browser
!= null) {
417
AdapterInternal = context.Request.
Browser
.GetAdapter(this);
UI\ControlAdapter.cs (2)
62
_browser = Page.RequestInternal.
Browser
;
72
_browser = context.Request.
Browser
;
UI\HtmlControls\HtmlHead.cs (1)
226
if ((string)Page.Request.
Browser
["requiresXhtmlCssSuppression"] != "true") {
UI\HtmlForm.cs (3)
382
(page.RequestInternal.
Browser
.W3CDomVersion.Major == 0 ||
424
(page.RequestInternal.
Browser
.EcmaScriptVersion.Major > 0) &&
425
(page.RequestInternal.
Browser
.W3CDomVersion.Major > 0)) {
UI\Page.cs (17)
812
((_request.
Browser
.EcmaScriptVersion >= FocusMinimumEcmaVersion) || (_request.
Browser
.JScriptVersion >= FocusMinimumJScriptVersion));
820
(_request.
Browser
.EcmaScriptVersion >= JavascriptMinimumVersion);
917
if (RequestInternal != null && RequestInternal.
Browser
!= null && !RequestInternal.
Browser
.SupportsMaintainScrollPositionOnPostback)
1364
Request.
Browser
!= null &&
1365
(string)Request.
Browser
["preferredRenderingType"] != "xhtml-mp" &&
1366
Request.
Browser
.SupportsCss &&
1453
if (Context != null && Context.Request != null && Context.Request.
Browser
!= null) {
1454
return Context.Request.
Browser
.CreateHtmlTextWriter(tw);
1466
if (request != null && request.
Browser
!= null) {
1467
return request.
Browser
.CreateHtmlTextWriterInternal(tw);
2418
(_request.
Browser
.W3CDomVersion.Major > 0);
4072
HttpBrowserCapabilities browser = currentContext.Request.
Browser
;
5296
if (h32tw != null && Request.
Browser
!= null) {
5297
h32tw.ShouldPerformDivTableSubstitution = Request.
Browser
.Tables;
5584
HttpCapabilitiesBase caps = _request.
Browser
;
UI\PageAdapter.cs (1)
61
if (Page.Request.
Browser
.RequiresUniqueFilePathSuffix) {
UI\PartialCachingControl.cs (1)
453
HttpBrowserCapabilities browserCap = Context.Request.
Browser
;
UI\SessionPageStatePersister.cs (1)
105
requiresControlStateInSession = Page.Request.
Browser
.RequiresControlStateInSession;
UI\TemplateControl.cs (1)
352
return(Context.Request.
Browser
.IsBrowser(filterName));
UI\WebControls\BaseValidator.cs (2)
476
&& page.Request.
Browser
.W3CDomVersion.Major >= 1
477
&& page.Request.
Browser
.EcmaScriptVersion.CompareTo(new Version(1, 2)) >= 0);
UI\WebControls\CheckBoxList.cs (1)
298
if (!DesignMode && !Context.Request.
Browser
.Tables) {
UI\WebControls\DetailsView.cs (2)
2163
if (EnablePagingCallbacks && (Context != null) && (Page != null) && (Page.RequestInternal != null) && Page.Request.
Browser
.SupportsCallback && !IsParentedToUpdatePanel) {
2164
HttpBrowserCapabilities browserCaps = Page.Request.
Browser
;
UI\WebControls\GridView.cs (2)
2729
if (EnableSortingAndPagingCallbacks && (Context != null) && (Page != null) && (Page.RequestInternal != null) && Page.Request.
Browser
.SupportsCallback && !IsParentedToUpdatePanel) {
2730
HttpBrowserCapabilities browserCaps = Page.Request.
Browser
;
UI\WebControls\LinkButton.cs (1)
359
String.Equals(Page.Request.
Browser
.Browser, "IE", StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\MenuRendererClassic.cs (1)
38
Menu._isNotIE = (Menu.Page.Request.
Browser
.MSDomVersion.Major < 4);
UI\WebControls\Panel.cs (2)
289
(Page.Request.
Browser
.EcmaScriptVersion.Major > 0) &&
290
(Page.Request.
Browser
.W3CDomVersion.Major > 0)) {
UI\WebControls\RadioButtonList.cs (1)
342
if (!DesignMode && !Context.Request.
Browser
.Tables) {
UI\WebControls\TextBox.cs (1)
354
return Context != null && Context.Request.
Browser
["supportsVCard"] == "true";
UI\WebControls\TreeView.cs (3)
947
(Page != null && !Page.Request.
Browser
.SupportsCallback)) {
1734
HttpBrowserCapabilities caps = Page.Request.
Browser
;
1735
_isNotIE = (Page.Request.
Browser
.MSDomVersion.Major < 4);
UI\WebControls\ValidationSummary.cs (2)
330
&& page.Request.
Browser
.W3CDomVersion.Major >= 1
331
&& page.Request.
Browser
.EcmaScriptVersion.CompareTo(new Version(1, 2)) >= 0);
UI\WebControls\Wizard.cs (2)
1186
browser = Page.Request.
Browser
;
1191
browser = context.Request.
Browser
;
UI\WebParts\WebPartManager.cs (1)
1153
HttpBrowserCapabilities browserCaps = Page.Request.
Browser
;
UI\WebParts\WebZone.cs (2)
571
Page.Request.
Browser
.Type == "IE5" &&
572
Page.Request.
Browser
.Platform == "MacPPC" &&
System.Web.DataVisualization (4)
WebForm\ChartWebControl.cs (2)
2803
if (((this.Context != null) && (this.Context.Request != null)) && (this.Context.Request.
Browser
!= null))
2805
return this.Context.Request.
Browser
.CreateHtmlTextWriter(tw);
WebForm\General\ChartHttpHandler.cs (2)
526
if (context.Request.
Browser
!= null)
527
writer = context.Request.
Browser
.CreateHtmlTextWriter(w);
System.Web.Extensions (2)
Handlers\ScriptResourceHandler.cs (2)
231
!context.Request.
Browser
.IsBrowser("IE") ||
232
(context.Request.
Browser
.MajorVersion > 6));
System.Web.Mobile (14)
Mobile\ErrorHandlerModule.cs (1)
165
MobileCapabilities caps = context.Request.
Browser
as MobileCapabilities;
UI\MobileControls\Adapters\ChtmlPageAdapter.cs (2)
49
String type = ((MobileCapabilities)context.Request.
Browser
).PreferredRenderingType;
50
bool javascriptSupported = context.Request.
Browser
.JavaScript;
UI\MobileControls\Adapters\ControlAdapter.cs (1)
108
return (MobileCapabilities)Page.Request.
Browser
;
UI\MobileControls\Adapters\HtmlPageAdapter.cs (3)
77
String type = ((MobileCapabilities)context.Request.
Browser
).PreferredRenderingType;
78
bool javascriptSupported = context.Request.
Browser
.JavaScript;
399
MobileCapabilities caps = (MobileCapabilities)context.Request.
Browser
;
UI\MobileControls\Adapters\UpWmlPageAdapter.cs (1)
39
MobileCapabilities capabilities = ((MobileCapabilities)context.Request.
Browser
);
UI\MobileControls\Adapters\WmlPageAdapter.cs (1)
61
MobileCapabilities capabilities = ((MobileCapabilities)context.Request.
Browser
);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPageAdapter.cs (2)
307
String type = ((MobileCapabilities)context.Request.
Browser
).PreferredRenderingType;
359
if (Page.Request.
Browser
["requiresPragmaNoCacheHeader"] == "true") {
UI\MobileControls\DeviceSpecific.cs (1)
128
MobileCapabilities caps = (MobileCapabilities)context.Request.
Browser
;
UI\MobileControls\Form.cs (1)
636
MobileCapabilities device = (MobileCapabilities)Page.Request.
Browser
;
UI\MobileControls\MobilePage.cs (1)
105
return (MobileCapabilities)Request.
Browser
;