Microsoft KB Archive/310452

= INFO: List of Undocumented Properties for the MobileCapabilities Object =

Article ID: 310452

Article Last Modified on 6/14/2002

-

APPLIES TO


 * Microsoft Mobile Internet Toolkit 1.0

-



This article was previously published under Q310452



SUMMARY
The MobileCapabilities class provides a single source from which you can access capability information about a client device. This class offers many read-only properties that you can use to determine what a device is capable of implementing.

This article lists additional, undocumented properties that are available from a MobileCapabilities object at run time.



SupportsRedirectWithCookie
When the RedirectToMobilePage or Response.Redirect methods are issued, some devices ignore the Set-Cookie header that the server sends. The SupportsRedirectWithCookie property returns true if the device honors the Set-Cookie header when the cookie is sent in conjunction with a Redirect (HTTP status code 302). This property returns false if the device ignores the Set-Cookie header. SupportsRedirectWithCookie = [true,false]

CanRenderAfterInputOrSelectElement
Some devices cannot render addition content in a WML card after a input or select element. The CanRenderAfterInputOrSelectElement property returns true if the device can render a card that contains elements after an input or select element. The property returns false if the device cannot render additional content after an input or select element. The default value for this property is true. CanRenderAfterInputOrSelectElement = [true,false]

RequiresDBCSCharacter
On some devices, content may appear unreadable if the page does not contain a double byte character set (DBCS) character. The RequiresDBCSCharacter property returns true for devices that require a DBCS character to render correctly. For these devices, the HTML and cHTML adapters insert a DBCS space character, which is not visible. This property returns false for devices that do not require a DBCS character to render properly. The default value for this property is false; however, for some devices, it is set to true in the Machine.config file. RequiresDBCSCharacter = [true,false]

Keywords: kbinfo kbwmldevice kbhtmldevice kbchtmldevice KB310452

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.