Partilhar via


How to: Add and Configure a Panel Control 

Use a Panel control to organize content and controls within a Form, within another Panel, or a template.

To add a Panel control to an ASP.NET mobile Web page

  1. Drag a Panel control from the Mobile Web Forms tab of the Toolbox onto a Form or Panel control on a MobilePage. You can also drag it onto a mobile user control page.

  2. Optionally customize the Panel control by:

    1. Dragging other controls onto the panel from the Toolbox.

    2. Defining templates or property overrides for the panel. To do so, drag a DeviceSpecific control onto the panel from the Toolbox.

    3. Typing literal text directly in the panel. Format the text using the Bold and Italic properties. Set the text color by using the ForeColor property.

    4. Enabling automatic pagination by setting the Paginate property to true.

See Also

Tasks

How to: Add and Configure a DeviceSpecific Control

Reference

Panel
MobilePage
Form

Concepts

Introduction to the Panel Control