The following table describes the usage of WSS Field Types in mobile forms and their relationships with ASP. NET mobile controls.
Read-Only controls in Mobile forms
WSS Field Type |
ASP. NET Mobile control |
Note |
Single Line Text |
Label |
Except for the ellipsis, it is the same as the ASP. NET control. |
Multi-Line Text |
TextView |
The HTML text field type with format is rendered as plain text. |
Option |
Label |
Except for the ellipsis, it is the same as the ASP. NET control. |
Number |
Label |
The WSS field type control is supported for format conversion. |
Currency |
Label |
The WSS field type control is supported for format conversion. |
Date and Time |
Label |
Added code support for date and time conversion for the WSS field type control. |
Item |
Label |
Users cannot intelligently perceive and view user information. |
Yes/No |
Label |
Except for the ellipsis, it is the same as the ASP. NET control. |
Images or links |
Link |
Except for the ellipsis, it is the same as the ASP. NET control. |
Calculated value |
Label |
Except for the ellipsis, it is the same as the ASP. NET control. |
Attachment |
Link |
The attachment display quantity is limited. You need to modify the rendering limit for the display of more than three attachments. |
Repeated Fields |
Label |
Except for the ellipsis, it is the same as the ASP. NET control. |
Read/Write controls in the new or edit form
Note: |
Any control that exceeds the rendering limit will become read-only, even if it should be able to read and write. |
WSS Field Type |
ASP. NET Mobile control |
Note |
Single Line Text |
TextBox |
If the data to be edited exceeds the maximum number of characters, it is displayed as read-onlyLabelControl to the same effect as that in the display form. |
Multi-Line Text |
TextBox |
If the data to be edited exceeds the maximum number of characters, it is displayed as read-onlyLabelControl to the same effect as that in the display form. If the Markup Language of the current browser is not Wireless Markup Language (WML ),System. Web. UI. WebControls. TextBoxControl.TextBoxThe control does not support formatted HTML text. Therefore, if the field type is formatted HTML text in the editing form, the field is rendered as a read-only control. However, in the new form,TextBoxControls are used for rendering even when fields are HTML text in A formatted format. |
Option |
SelectionList |
Only the drop-down list box is supported and multiple options are allowed. In the new form, if the number of options exceeds the maximum valueN(N= Maximum number) is displayed, and a warning message is displayed under the option. The read-onlyLabelControl. |
Number |
TextBox |
Maximum and minimum value range verification is not provided. |
Currency |
TextBox |
Maximum and minimum value range verification is not provided. |
Date and Time |
TextBox |
The description text is displayed. The date selector is not supported. The current localization setting of WSS determines the date and time input format, but the current calendar type is ignored. |
Item |
SelectionList |
The Truncation of the maximum limit is similar to that of the option field. |
Yes/No |
SelectionList |
Except for the ellipsis, it is the same as the ASP. NET control. |
Images or links |
TextBox |
The description text is not displayed, and cannot be displayed or edited. Enter the description text in the new form. If the display name of an image or hyperlink exceeds the maximum character limit, the remaining characters are cut off and a ellipsis (...). The URL itself will not be broken. |
Name |
TextBox |
Read-only in the editing form. The new form in the document library is not supported. |
Reproduced http://www.cnblogs.com/Sunmoonfire/archive/2008/07/08/1238551.html