Wss3sdk: Mobile View

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.