Share via


Mobile Fields Table

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The following tables provide information about how Windows SharePoint Services field types used in mobile forms are mapped to Microsoft ASP.NET mobile controls.

Read-Only Controls in Mobile Forms

Windows SharePoint Services Field Type

ASP.NET Mobile Control

Comment

Single line of text

Label

Same as ASP.NET control except for rendering of ellipses.

Multiple lines of text

TextView

Renders plain text of rich HTML text field type.

Choice

Label

Same as ASP.NET control except for rendering of ellipses.

Number

Label

Leverages Windows SharePoint Services field type controls for format conversion.

Currency

Label

Leverages Windows SharePoint Services field type controls for format conversion.

Date and time

Label

Leverages code in Windows SharePoint Services field type controls for local date/time conversion.

Lookup

Label

Does not support presence or linking to user information.

Yes/no

Label

Same as ASP.NET control except for rendering of ellipses.

Hyperlink or picture

Link

Same as ASP.NET control except for rendering of ellipses.

Calculated

Label

Same as ASP.NET control except for rendering of ellipses.

Attachment

Link

The number of attachments to display is limited. Up to three attachments are displayed, which is set by a rendering limit. See Ellipses and Rendering Limits.

Recurrence field

Label

Same as ASP.NET control except for rendering of ellipses.

Read/Write Controls in New or Edit Forms

Note

Any control that exceeds a rendering limit becomes read-only even if it is nominally read/write. For more information, see Ellipses and Rendering Limits.

Windows SharePoint Services Field Type

ASP.NET Mobile Control

Comment

Single line of text

TextBox

Displays read-only Label control the same as in a Display form if the data to edit exceeds a maximum character limit.

Multiple lines of text

TextBox

Displays read-only Label control the same as in a Display form if the data to edit exceeds a maximum character limit. If the markup language of the current browser is not Wireless Markup Language (WML), the System.Web.UI.WebControls.TextBox control is used. The TextBox control does not support rich HTML text formatting, and so in the Edit form, if the field type is rich HTML text, the field is rendered as a read-only control. In the New form, however, the TextBox control is used even when the field is in rich HTML text format.

Choice

SelectionList

Supports drop-down list boxes only, and allows multiple selections. In the New form, if the number of choice options exceeds a maximum number, the first n options (n = maximum number) are displayed and a warning message is displayed below the options. In the Edit form, a read-only Label control is displayed.

Number

TextBox

Does not provide minimum-maximum value range validation.

Currency

TextBox

Does not provide minimum-maximum value range validation.

Date and time

TextBox

Displays description text. Does not support the calendar date picker. The current locale in Windows SharePoint Services determines the date and time input format, but the current calendar type is ignored.

Lookup

SelectionList

The cutoff maximum limit behavior is the same as for the Choice field type.

Yes/no

SelectionList

Same as ASP.NET control except for rendering of ellipses.

Hyperlink or picture

TextBox

Does not display description text or allow the typing of descriptive text in the Display, Edit, or New form.

If the display name of the hyperlink or picture exceeds a maximum character limit, the remaining characters are truncated and an ellipsis (...) is appended. The URL itself is not truncated. For the limit, see Ellipses and Rendering Limits.

Name

TextBox

Read-only in Edit form. Does not support the New form for document libraries.