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