Prev | Current Page 637 | Next

Rob Cameron and Dale Michalk

"Pro ASP.NET 3.5 Server Controls and AJAX Components"

config
after installing the device update.
For your custom mobile controls, device updates should not affect how they render with
existing browsers. For new browsing clients added by a device update, your custom mobile
controls should still render correctly, as long as the browser is compatible with your controls??™
requirements. The key takeaway point is that you should test your custom mobile controls
when a new device update is released to ensure compatibility.
CHAPTER 10 ?–  OTHER S ERVER C ONTROLS 497
New Capabilities in MobileCapabilities
As we mentioned in the last section, the System.Web.Mobile.MobileCapabilities class inherits
from HttpBrowserCapabilities, so by default, it supports the capabilities we discussed earlier
in this chapter. Table 10-9 recaps the base class properties.
Table 10-9. HttpBrowserCapabilities Properties
Property Description
ActiveXControls Browser support for ActiveX controls.
AOL Is the browser an AOL version?
BackgroundSounds Browser support for playing sounds.
Beta Is the browser a beta version?
Browser Full browser string from the request headers.
CDF Browser support for Channel Definition Format (CDF).
ClrVersion Version of the .NET CLR supported by browser.
Cookies Browser support for cookies.


Pages:
625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649