
778
|
Chapter 40: The System.Web.UI.MobileControls Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ Style(System.Web.UI.IParserAccessor, ITemplateable, System.Web.UI.
IStateManager, System.ICloneable)
➝ PagerStyle
Returned By
Form.PagerStyle
Panel
System.Web.UI.MobileControls (system.web.mobile.dll)
.NET 1.1, disposable
class
The Panel is a flexible container for mobile controls. The Panel control is commonly used
to hide or show groups of controls (by setting the Visible property), or to keep controls
together for the purposes of pagination. The style attributes and pagination settings
you apply to a Panel will be applied to all child controls automatically. A Panel does not
provide a provide a border or visual appearance beyond its constituent controls and
any literal text.
The Panel supports literal text, although once added, you cannot easily modify this
text at runtime. You can also insert markup tags directly into the literal text of a
Panel. Supported tags include <a> (anchor), <b> (bold), <i> (italic), <br> (line break),
and <p> (paragraph). These tags will be rendered in a device-independent manner,
which means that a <p> could conceivably be translated into a <br> tag if required by
the client device. In order to ensure compatibility across a broad range of devices, all
other tags are ignored, ...