
732
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Chapter 40MobileControls Namespace
40
The System.Web.UI.
MobileControls Namespace
The System.Web.UI.MobileControls namespace includes the ASP.NET mobile controls.
Many of these classes closely resemble the web form controls in the System.Web.UI.
WebControls namespace. However, there are two key differences. First of all, because
mobile devices typically use lighter-weight browsers that don’t offer rich client
features like JavaScript and Dynamic HTML, the mobile controls can only offer a
subset of the web control functionality. Also, because mobile controls need to
render to different types of markup (like cHTML, HTML, and WML), each
mobile control needs the support of a set of control adapters. You’ll find the
control adapters for each control in the System.Web.UI.MobileControls.Adapters namespace.
Figures 40-1 through 40-5 show the types in this namespace.