Components of a Mobile Web Application XML

The mobile Web application consists of mobile Web forms that are the building blocks of a mobile Web application. In addition, the mobile Web application consists of mobile Form controls that you can add to the mobile Web forms. The mobile Web controls are used to display text and images, accept input from users, and display the output to the user. The following section discusses these components in detail.

The Mobile Web Forms

When you create a mobile Web application in Visual Studio .NET, the application contains a mobile Web form by default. A mobile Web form is a container control in the toolbox that you can use to hold other controls. The mobile Web form is similar to an ASP.NET Web form except for the size of the mobile Web form, which is far smaller than the ASP.NET Web form. In addition, the mobile Web form comes as a control in the Mobile Web Forms toolbox. Figure shows the Mobile Web Forms toolbox with a Form control selected.

The Mobile Web Forms Toolbox with a Form Control Selected

The Mobile Web Forms Toolbox with a Form Control Selected

To add a mobile Web form to your application, drag the Web Form control to the MobilePage control. The MobilePage control is another container control that contains all mobile Web forms included in the application. You can include as many mobile Web Form controls to a MobilePage control as you need. Figure shows the MobilePage control with a mobile Web Form control.

The Mobile Page Control with a Mobile Web Form Control

The Mobile Page Control with a Mobile Web Form Control

Note?/td>
A mobile Web form that you create in your application has a default extension of .aspx.

As you can see in Figure, the Mobile Web Forms toolbox contains several controls that you can add to the mobile Web forms. The following section discusses these controls in detail.

Mobile Web Form Controls

Similar to providing controls for developing Windows applications or Web applications, Visual Studio .NET also provides you with controls for creating mobile Web forms. Table lists some of these controls in detail.

The Mobile Web Form Controls

The Mobile Web Form Controls


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

XML Topics