Panel.NET 1.1, disposable

System.Web.UI.MobileControls (

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, and will never affect the control's output.

public class Panel : MobileControl, ITemplateable {
// Public Constructors
   public Panel( );
// Public Instance Properties
   public override bool BreakAfter{set; get; }                   // overrides MobileControl
   public Panel Content{get; }
   public virtual bool Paginate{set; get; }
// Protected Instance Properties
   protected override bool PaginateChildren{get; }               // overrides MobileControl
// Public Instance Methods
   public override void AddLinkedForms(System.Collections.IList linkedForms); // overrides MobileControl
   public override void CreateDefaultTemplatedUI(bool doDataBind); // overrides MobileControl
   public override void PaginateRecursive(ControlPager pager);  // overrides MobileControl
// Protected Instance Methods
   protected override void OnInit(EventArgs e);                 // overrides MobileControl


System.Object System.Web.UI.Control(System.ComponentModel.IComponent, System.IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor) MobileControl(System.Web.UI.IAttributeAccessor) Panel(ITemplateable)


Form, TemplateContainer

Returned By

System.Web.UI.MobileControls.Adapters.HtmlPanelAdapter.Control, System.Web.UI.MobileControls.Adapters.WmlPanelAdapter.Control, Form.{Footer, Header, Script}, ObjectList.Details

    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace