The main part of a WSS mobile list view is created using the ASP. NET mobile control, but the metadata in the Sharepoint list architecture drives all aspects of the view. A mobile view is a standard Sharepoint list view (not a calendar view, data table view, or Gantt view), but is further specified as a mobile view. All standard views specified as mobile views in the given list are displayed in the view selector drop-down list.
The list items displayed in the mobile view are obtained through the same query and filtering as the standard view, which are defined in the schema. xml of the list type. However, the number of items displayed in the List View on the mobile device is determined by the rendering limit.
You can
Schema. xml File to specify a standard list view as the mobile view. You only need to set
View Element
Mobileview The property is
True . If you want to specify this view as the default mobile view, you only need
View Element
Mobiledefaview View Set property
Ture . The following example shows how to specify a standard list view as the default mobile view on the open view element. < View Baseviewid = "1" Type = "Html" Webpartzoneid = "Main" Displayname = "$ Resources: Core, cam-54 ;" Defaultview = "True" Mobileview = "True" Mobiledefaview View = "True" URL = "Allitems. aspx" >
If you want to modify the mobile settings of the created list, you can useMicrosoft. Sharepoint. spviewClassMobileviewAndMobiledefaview ViewAttribute.
The standard list view of the following default Sharepoint list is specified as the mobile view by default after WSS is installed:
Notification
Calendar
Task
Shared document
Mobile view selector list control
SharePoint mobile view selector list control (System. Web. UI. mobilecontrols. selectionlist) To display the names of all mobile views in the current list.
The default option of the view selector is the default list view. If no default view is defined, the first mobile view defined in schema. XML is used as the default option. The name of the moblie view is displayed in alphabetical order.
If the number of mobile views exceeds the maximum number of mobile views defined in the rendering limit, the remaining mobile views will not be listed in the control. The maximum number of characters for each option is also limited.
if no mobile view is specified in the list, the entire view page is not displayed.