1 override of
System.Web.Mobile (1)
UI\MobileControls\Design\DesignerCapabilities.cs (1)
133public override String this[String key]
241 references to
System.Web (162)
Abstractions\HttpBrowserCapabilitiesWrapper.cs (1)
709return _browser[key];
Configuration\BrowserCapabilitiesFactory.cs (49)
39headerValue = ((string)(browserCaps[string.Empty])); 47headerValue = ((string)(browserCaps[string.Empty])); 53regexWorker.ProcessRegex(((string)(browserCaps[string.Empty])), "Trident/(?\'layoutVersion\'\\d+)"); 324headerValue = ((string)(browserCaps[string.Empty])); 332headerValue = ((string)(browserCaps[string.Empty])); 367headerValue = ((string)(browserCaps[string.Empty])); 418headerValue = ((string)(browserCaps[string.Empty])); 427regexWorker.ProcessRegex(((string)(browserCaps[string.Empty])), "Presto/(?\'layoutVersion\'\\d+)"); 491headerValue = ((string)(browserCaps[string.Empty])); 518headerValue = ((string)(browserCaps[string.Empty])); 615headerValue = ((string)(browserCaps[string.Empty])); 645headerValue = ((string)(browserCaps[string.Empty])); 844headerValue = ((string)(browserCaps[string.Empty])); 853regexWorker.ProcessRegex(((string)(browserCaps[string.Empty])), "Gecko/(?\'layoutVersion\'\\d+)"); 983headerValue = ((string)(browserCaps[string.Empty])); 1010headerValue = ((string)(browserCaps[string.Empty])); 1074headerValue = ((string)(browserCaps[string.Empty])); 1082headerValue = ((string)(browserCaps[string.Empty])); 1116headerValue = ((string)(browserCaps[string.Empty])); 1143headerValue = ((string)(browserCaps[string.Empty])); 1170headerValue = ((string)(browserCaps[string.Empty])); 1197headerValue = ((string)(browserCaps[string.Empty])); 1224headerValue = ((string)(browserCaps[string.Empty])); 1251headerValue = ((string)(browserCaps[string.Empty])); 1278headerValue = ((string)(browserCaps[string.Empty])); 1305headerValue = ((string)(browserCaps[string.Empty])); 1332headerValue = ((string)(browserCaps[string.Empty])); 1359headerValue = ((string)(browserCaps[string.Empty])); 1386headerValue = ((string)(browserCaps[string.Empty])); 1413headerValue = ((string)(browserCaps[string.Empty])); 1445headerValue = ((string)(browserCaps[string.Empty])); 1472headerValue = ((string)(browserCaps[string.Empty])); 1499headerValue = ((string)(browserCaps[string.Empty])); 1532headerValue = ((string)(browserCaps[string.Empty])); 1608headerValue = ((string)(browserCaps[string.Empty])); 1617regexWorker.ProcessRegex(((string)(browserCaps[string.Empty])), "AppleWebKit/(?\'layoutVersion\'\\d+)"); 1651headerValue = ((string)(browserCaps[string.Empty])); 1660regexWorker.ProcessRegex(((string)(browserCaps[string.Empty])), "Mozilla/5.0 \\((?\'deviceName\'[^;]+)"); 1696headerValue = ((string)(browserCaps[string.Empty])); 1705regexWorker.ProcessRegex(((string)(browserCaps[string.Empty])), "MSIE (?\'msieMajorVersion\'\\d+)"); 1756headerValue = ((string)(browserCaps[string.Empty])); 1943headerValue = ((string)(browserCaps[string.Empty])); 1973headerValue = ((string)(browserCaps[string.Empty])); 2002headerValue = ((string)(browserCaps[string.Empty])); 2031headerValue = ((string)(browserCaps[string.Empty])); 2039headerValue = ((string)(browserCaps[string.Empty])); 2044headerValue = ((string)(browserCaps[string.Empty])); 2082headerValue = ((string)(browserCaps[string.Empty])); 2196headerValue = ((string)(browserCaps[string.Empty]));
Configuration\HttpCapabilitiesBase.cs (94)
434_type = this["type"]; 444_browser = this["browser"]; 454_version = this["version"]; 465_majorversion = int.Parse(this["majorversion"], CultureInfo.InvariantCulture); 477string message = SR.GetString(SR.Invalid_string_from_browser_caps, e.Message, capsKey, this[capsKey]); 492string value = this[capsKey]; 507return bool.Parse(this[capsKey]); 516return this["minorversion"]; 531this["minorversion"], 540string minor = this["minorversion"]; 576_platform = this["platform"]; 587string tagWriter = this["tagwriter"]; 610_ecmascriptversion = new Version(this["ecmascriptversion"]); 620_msdomversion = new Version(this["msdomversion"]); 630_w3cdomversion = new Version(this["w3cdomversion"]); 700if (this["requiresControlStateInSession"] != null) { 763_jscriptversion = new Version(this["jscriptversion"]); 804_mobileDeviceManufacturer = this["mobileDeviceManufacturer"]; 815_mobileDeviceModel = this["mobileDeviceModel"]; 826_gatewayVersion = this["gatewayVersion"]; 837_gatewayMajorVersion = Convert.ToInt32(this["gatewayMajorVersion"], CultureInfo.InvariantCulture); 854this["gatewayMinorVersion"], 866_preferredRenderingType = this["preferredRenderingType"]; 877_preferredRequestEncoding = this["preferredRequestEncoding"]; 889_preferredResponseEncoding = this["preferredResponseEncoding"]; 900_preferredRenderingMime = this["preferredRenderingMime"]; 911_preferredImageMime = this["preferredImageMime"]; 922if (this["screenCharactersWidth"] == null) { 928if (this["screenPixelsWidth"] != null && this["characterWidth"] != null) { 929screenPixelsWidthToUse = Convert.ToInt32(this["screenPixelsWidth"], CultureInfo.InvariantCulture); 930characterWidthToUse = Convert.ToInt32(this["characterWidth"], CultureInfo.InvariantCulture); 932else if (this["screenPixelsWidth"] != null) { 933screenPixelsWidthToUse = Convert.ToInt32(this["screenPixelsWidth"], CultureInfo.InvariantCulture); 934characterWidthToUse = Convert.ToInt32(this["defaultCharacterWidth"], CultureInfo.InvariantCulture); 936else if (this["characterWidth"] != null) { 937screenPixelsWidthToUse = Convert.ToInt32(this["defaultScreenPixelsWidth"], CultureInfo.InvariantCulture); 938characterWidthToUse = Convert.ToInt32(this["characterWidth"], CultureInfo.InvariantCulture); 940else if (this["defaultScreenCharactersWidth"] != null) { 941screenPixelsWidthToUse = Convert.ToInt32(this["defaultScreenCharactersWidth"], CultureInfo.InvariantCulture); 948_screenCharactersWidth = Convert.ToInt32(this["screenCharactersWidth"], CultureInfo.InvariantCulture); 960if (this["screenCharactersHeight"] == null) { 966if (this["screenPixelsHeight"] != null && this["characterHeight"] != null) { 967screenPixelHeightToUse = Convert.ToInt32(this["screenPixelsHeight"], CultureInfo.InvariantCulture); 968characterHeightToUse = Convert.ToInt32(this["characterHeight"], CultureInfo.InvariantCulture); 970else if (this["screenPixelsHeight"] != null) { 971screenPixelHeightToUse = Convert.ToInt32(this["screenPixelsHeight"], CultureInfo.InvariantCulture); 972characterHeightToUse = Convert.ToInt32(this["defaultCharacterHeight"], CultureInfo.InvariantCulture); 974else if (this["characterHeight"] != null) { 975screenPixelHeightToUse = Convert.ToInt32(this["defaultScreenPixelsHeight"], CultureInfo.InvariantCulture); 976characterHeightToUse = Convert.ToInt32(this["characterHeight"], CultureInfo.InvariantCulture); 978else if (this["defaultScreenCharactersHeight"] != null) { 979screenPixelHeightToUse = Convert.ToInt32(this["defaultScreenCharactersHeight"], CultureInfo.InvariantCulture); 986_screenCharactersHeight = Convert.ToInt32(this["screenCharactersHeight"], CultureInfo.InvariantCulture); 998if (this["screenPixelsWidth"] == null) { 1004if (this["screenCharactersWidth"] != null && this["characterWidth"] != null) { 1005screenCharactersWidthToUse = Convert.ToInt32(this["screenCharactersWidth"], CultureInfo.InvariantCulture); 1006characterWidthToUse = Convert.ToInt32(this["characterWidth"], CultureInfo.InvariantCulture); 1008else if (this["screenCharactersWidth"] != null) { 1009screenCharactersWidthToUse = Convert.ToInt32(this["screenCharactersWidth"], CultureInfo.InvariantCulture); 1010characterWidthToUse = Convert.ToInt32(this["defaultCharacterWidth"], CultureInfo.InvariantCulture); 1012else if (this["characterWidth"] != null) { 1013screenCharactersWidthToUse = Convert.ToInt32(this["defaultScreenCharactersWidth"], CultureInfo.InvariantCulture); 1014characterWidthToUse = Convert.ToInt32(this["characterWidth"], CultureInfo.InvariantCulture); 1016else if (this["defaultScreenPixelsWidth"] != null) { 1017screenCharactersWidthToUse = Convert.ToInt32(this["defaultScreenPixelsWidth"], CultureInfo.InvariantCulture); 1024_screenPixelsWidth = Convert.ToInt32(this["screenPixelsWidth"], CultureInfo.InvariantCulture); 1036if (this["screenPixelsHeight"] == null) { 1040if (this["screenCharactersHeight"] != null && this["characterHeight"] != null) { 1041screenCharactersHeightToUse = Convert.ToInt32(this["screenCharactersHeight"], CultureInfo.InvariantCulture); 1042characterHeightToUse = Convert.ToInt32(this["characterHeight"], CultureInfo.InvariantCulture); 1044else if (this["screenCharactersHeight"] != null) { 1045screenCharactersHeightToUse = Convert.ToInt32(this["screenCharactersHeight"], CultureInfo.InvariantCulture); 1046characterHeightToUse = Convert.ToInt32(this["defaultCharacterHeight"], CultureInfo.InvariantCulture); 1048else if (this["characterHeight"] != null) { 1049screenCharactersHeightToUse = Convert.ToInt32(this["defaultScreenCharactersHeight"], CultureInfo.InvariantCulture); 1050characterHeightToUse = Convert.ToInt32(this["characterHeight"], CultureInfo.InvariantCulture); 1052else if (this["defaultScreenPixelsHeight"] != null) { 1053screenCharactersHeightToUse = Convert.ToInt32(this["defaultScreenPixelsHeight"], CultureInfo.InvariantCulture); 1060_screenPixelsHeight = Convert.ToInt32(this["screenPixelsHeight"], CultureInfo.InvariantCulture); 1072_screenBitDepth = Convert.ToInt32(this["screenBitDepth"], CultureInfo.InvariantCulture); 1083String isColorString = this["isColor"]; 1088_isColor = Convert.ToBoolean(this["isColor"], CultureInfo.InvariantCulture); 1100_inputType = this["inputType"]; 1111_numberOfSoftkeys = Convert.ToInt32(this["numberOfSoftkeys"], CultureInfo.InvariantCulture); 1122_maximumSoftkeyLabelLength = Convert.ToInt32(this["maximumSoftkeyLabelLength"], CultureInfo.InvariantCulture); 1234String value = this["requiredMetaTagNameValue"]; 1630_maximumRenderedPageSize = Convert.ToInt32(this["maximumRenderedPageSize"], CultureInfo.InvariantCulture); 1710String s = this["defaultSubmitButtonLimit"]; 1711_defaultSubmitButtonLimit = s != null ? Convert.ToInt32(this["defaultSubmitButtonLimit"], CultureInfo.InvariantCulture) : 1; 1741_maximumHrefLength = Convert.ToInt32(this["maximumHrefLength"], CultureInfo.InvariantCulture);
Configuration\HttpCapabilitiesEvaluator.cs (2)
382string oldIsMobileDevice = browserCaps[_isMobileDeviceCapKey]; 387string newIsMobileDevice = browserCaps[_isMobileDeviceCapKey];
Configuration\RegexWorker.cs (1)
63result = _browserCaps[groupName];
ErrorFormatter.cs (2)
143browser["requiresAdaptiveErrorReporting"] == "true") { 272return ((browser != null) ? browser["preferredRenderingType"] : String.Empty);
HttpResponse.cs (2)
2450if (Request == null || (string)Request.Browser["requiresPostRedirectionHandling"] != "true") 3307(Request != null && (string)Request.Browser["requiresFullyQualifiedRedirectUrl"] == "true")) {
Security\AnonymousIdentificationModule.cs (2)
88if (context.Request.Browser["supportsEmptyStringInCookieValue"] == "false") 178if (context.Request.Browser["supportsEmptyStringInCookieValue"] == "false")
Security\FormsAuthentication.cs (1)
411if (context.Request.Browser["supportsEmptyStringInCookieValue"] == "false")
Security\Roles.cs (1)
433if (context.Request.Browser["supportsEmptyStringInCookieValue"] == "false")
UI\HtmlControls\HtmlHead.cs (1)
226if ((string)Page.Request.Browser["requiresXhtmlCssSuppression"] != "true") {
UI\Page.cs (1)
1365(string)Request.Browser["preferredRenderingType"] != "xhtml-mp" &&
UI\PageAdapter.cs (1)
215if ((String)Browser["requiresAbsolutePostbackUrl"] == "true") {
UI\WebControls\DetailsView.cs (1)
2167bool isHtml4 = (!StringUtil.EqualsIgnoreCase(browserCaps["tagwriter"], typeof(Html32TextWriter).FullName));
UI\WebControls\GridView.cs (1)
2733bool isHtml4 = !StringUtil.EqualsIgnoreCase(browserCaps["tagwriter"], typeof(Html32TextWriter).FullName);
UI\WebControls\TextBox.cs (1)
354return Context != null && Context.Request.Browser["supportsVCard"] == "true";
UI\WebControls\TreeView.cs (1)
2262!StringUtil.EqualsIgnoreCase(caps["tagwriter"], typeof(Html32TextWriter).FullName));
System.Web.Mobile (79)
Mobile\MobileCapabilities.cs (1)
98item = this[evaluatorName];
UI\MobileControls\Adapters\ControlAdapter.cs (2)
223String pageWeight = Device[Constants.OptimumPageWeightParameter]; 241String numLinesStr = Device[Constants.ScreenCharactersHeightParameter];
UI\MobileControls\Adapters\HtmlMobileTextWriter.cs (1)
90if(Device["supportsCharacterEntityEncoding"] != "false") {
UI\MobileControls\Adapters\HtmlPageAdapter.cs (2)
401string preferredResponseEncoding = (string)caps["preferredResponseEncoding"]; 402string preferredRequestEncoding = (string)caps["preferredRequestEncoding"];
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (1)
1643String RequiresNoSoftkeyLabelsString = Device["requiresNoSoftkeyLabels"];
UI\MobileControls\Adapters\WmlPageAdapter.cs (2)
460String RequiresUTF8ContentEncodingString = Device["requiresUTF8ContentEncoding"]; 484String RequiresValueAttributeInInputTagString = Device["requiresValueAttributeInInputTag"];
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicControlAdapter.cs (25)
100if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true") { 118if ((String)Device[XhtmlConstants.BreaksOnInlineElements] == "true") { 196if ((String)Device["requiresAbsolutePostbackUrl"] == "true" 206if ((String)Device[XhtmlConstants.SupportsUrlAttributeEncoding] != "false") { 235String amp = (String)Device[XhtmlConstants.SupportsUrlAttributeEncoding] != "false" ? "&" : "&"; 314if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 333if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 345if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 357if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 369if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 381if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 421if ((String)Device[XhtmlConstants.RequiresOnEnterForward] == "true") { 425String browserCap = Device[XhtmlConstants.InternalStyleConfigSetting]; 467if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 486if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 521if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 527if ((String)Device["usePOverDiv"] == "true") { 548if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 554if ((String)Device["usePOverDiv"] == "true") { 613if (CssLocation == StyleSheetLocation.PhysicalFile && (String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true") { 626else if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true") { 639if (CssLocation == StyleSheetLocation.PhysicalFile && (String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true") { 643else if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true") { 653if ((String)Device[XhtmlConstants.BreaksOnBlockElements] != "false") { 660if ((String)Device[XhtmlConstants.BreaksOnInlineElements] == "true") {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicFormAdapter.cs (12)
70String amp = (String)Device[XhtmlConstants.SupportsUrlAttributeEncoding] != "false" ? "&" : "&"; 72if((String)Device[XhtmlConstants.SupportsUrlAttributeEncoding] != "false") { 81bool needDivStyle = (String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true" && 82(String)Device["supportsBodyClassAttribute"] == "false"; 84if((String)Device["usePOverDiv"] == "true") 90if((String)Device["usePOverDiv"] == "true") 102if((String)Device["usePOverDiv"] == "true") 108if((String)Device["usePOverDiv"] == "true") 127if ((String)Device["requiresHiddenFieldValues"] != "true") { 208if((String)Device["usePOverDiv"] == "true") { 224if((String)Device["usePOverDiv"] == "true") { 370if ((String)Device["requiresAbsolutePostbackUrl"] == "true") {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicListAdapter.cs (1)
108if((string)Device["usePOverDiv"] == "true")
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (6)
333if ((String) Device[XhtmlConstants.BreaksOnInlineElements] != "true") { 342if ((String) Device[XhtmlConstants.BreaksOnInlineElements] != "true") { 353if ((String) Device[XhtmlConstants.BreaksOnInlineElements] != "true") { 515if ((String)Device[XhtmlConstants.BreaksOnInlineElements] != "true") { 534if ((String)Device[XhtmlConstants.BreaksOnInlineElements] != "true") { 620if (CssLocation == StyleSheetLocation.PhysicalFile || Device["requiresXhtmlCssSuppression"] == "true") {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPageAdapter.cs (17)
254bool requiresComments = (String)Device["requiresCommentInStyleElement"] == "true"; 314return(String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true"; 343writer.UseDivsForBreaks = (String)Device[XhtmlConstants.BreaksOnInlineElements] == "true"; 344writer.SuppressNewLine = (String)Device[XhtmlConstants.RequiresNewLineSuppression] == "true"; 345writer.SupportsNoWrapStyle = (String)Device[XhtmlConstants.SupportsNoWrapStyle] != "false"; 359if (Page.Request.Browser["requiresPragmaNoCacheHeader"] == "true") { 377String supportsXmlDeclaration = Device["supportsXmlDeclaration"]; 423else if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true" && 424(String)Device[XhtmlConstants.SupportsBodyClassAttribute] != "false") { 449if (cssClass != null && (String)Device["supportsBodyClassAttribute"] != "false") { 456else if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true" && 457(String)Device[XhtmlConstants.SupportsBodyClassAttribute] != "false") { 462if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true" && 463(String)Device[XhtmlConstants.SupportsBodyClassAttribute] == "false") { 474String amp = (String)Device[XhtmlConstants.SupportsUrlAttributeEncoding] == "false" ? "&" : "&"; 476if ((String)Device["requiresAbsolutePostbackUrl"] == "true") { 509if ((String)Device[XhtmlConstants.SupportsUrlAttributeEncoding] != "false") {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPhoneCallAdapter.cs (1)
52if ((String)Device["supportsWtai"] == "true") {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicSelectionListAdapter.cs (4)
45if ((String) Device[XhtmlConstants.RequiresOnEnterForward] == "true") { 164(((string)Device["usePOverDiv"] == "true") ? "p" : "div"); 204if((string)Device["usePOverDiv"] == "true" || !Device.Tables) { 217if ((String)Device["supportsSelectFollowingTable"] == "false" && writer.CachedEndTag == "table") {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicTextBoxAdapter.cs (2)
49if ((String) Device[XhtmlConstants.RequiresOnEnterForward] == "true") { 73String requiresType = Device["requiresInputTypeAttribute"];
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlMobileTextWriter.cs (1)
595if((string)Device["usePOverDiv"] == "true")
UI\MobileControls\MobilePage.cs (1)
1269if (Device.PreferredRenderingMime != "text/vnd.wap.wml" && Device["cachesAllResponsesWithExpires"] != "true")