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