当前位置: 首页 > 网络学院 > 服务端脚本教程 > .NET Mobile > ASP.NET Mobile Controls Reference

.NET Mobile
.NET Mobile Introduction
.NET Mobile Example
.NET Mobile Emulators
.NET Mobile Forms
.NET Mobile Events
.NET Mobile Input
.NET Mobile Input Validation
.NET Mobile Lists
.NET Mobile Selections
.NET Mobile Images
.NET Mobile Utilities
ASP.NET Mobile Controls Reference

ASP.NET Mobile Controls Reference


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-07-31   浏览: 836 ::
收藏到网摘: n/a

Main Mobile Objects

.NET Mobile supports three main objects:

  • The Mobile Page
  • The Mobile Form
  • The Mobile Panel

The Mobile Page is the container for the application.

Each Mobile Page can have one or more Mobile Forms.

Each Mobile Form can have zero or more Mobile Panels.

Mobile Forms and Mobile Panels are used to group Mobile Controls.


Mobile Controls

Mobile Controls are grouped into:

  • User interface controls
  • Validation controls
  • Utility controls

UI Controls

UI controls are controls that displays the user interface:

Name Function
Command Performs an action
Form Defines a container for mobile controls
Image Defines an image
Label Defines a text
Link Defines a hyperlink
List Defines a list
MobilePage Defines a base class for all mobile pages
ObjectList Defines a list of data objects
Panel Defines a container for other controls
SelectionList Defines a list to select from
StyleSheet Defines styles to apply to other controls
TextBox Defines a single line input box
TextView Defines a multi-line input box


Validation Controls

Validation controls are used to validate the data entered by a user:

Name Function
CompareValidator Compares the value of one input control to the value of another input control or to a fixed value
CustomValidator Allows you to write a method to handle the validation of the value entered
RangeValidator Checks that the user enters a value that falls between two values
RegularExpressionValidator Ensures that the value of an input control matches a specified pattern
RequiredFieldValidator Makes an input control a required field
ValidationSummary Displays a report of all validation errors occurred in a page


Utility Controls

 Utility controls support complicated user interfaces with minimum of code:

Name Function
AdRotator Displays advertisements
Calendar Displays a calendar
PhoneCall Calls a telephone number

评论 (5) 1 All

登陆 | 还没注册?