Form and Layout Controls

The Form control is used to create a form to display on a mobile device, and the Layout controls (Form, Panel, and StyleSheet) are used to aid in the layout of controls on a mobile device.

<Mobile:Form> Control

The Form control is required for every single mobile device web page, without exception. The Form control acts as a container for other controls. You can have more than one form for a web page source file; however, only one form at a time is rendered on the mobile device. The first form definition in your source file is the initial form that is displayed on the mobile device. Table F.1 lists the properties of the Form control, and Table F.2 lists the events.

Table F.1. Properties of the Form Control
Property ...

Get Inside ASP.NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.