共用方式為


Mobile Wiki and Web Parts Pages

Applies to: SharePoint Foundation 2010

The mobile pages that are included in SharePoint Foundation include two very important generic pages and a large set of special purpose pages and forms for specific tasks. This topic describes the two generic pages.

Mobile Pages for Web Parts and Wikis

The mobile page (%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS\MOBILE\mblwp.aspx) renders on mobile devices the content of any Web Part site page unless there is a specific purpose-built mobile page for it (as there is, for example, for the home page of blog sites). However, Web Parts for which there is no mobile adapter control do not appear on the mobile version of the page. The mobile version of the page is not itself a Web Parts page and the mobile adapters are ordinary Web controls, not Web Parts. The page inherits from the WebPartMobilePage class, but the latter class does not derive from WebPartPage.

Note

The nonmobile page to which a mobile page corresponds is called the "target page" of the mobile page.

The mobile page (%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS\MOBILE\mblwiki.aspx) renders the content of any wiki-enabled site page on mobile devices, provided that the mobile device supports Rich Text. The Rich Text and any Web Parts on the page (for which there is a mobile adapter) will appear. However, the mobile version of the page is not itself an editable Wiki page. If the device does not support Rich Text, then the page is rendered with mblwp.aspx. In the latter case, only the Web Parts (for which there is a mobile adapter) will appear. However, the footer area of the page has a Show text only link which will open a page (%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS\MOBILE\dispform.aspx) that shows the text of the page and any links that are included in the wiki text. The text appears as plain text, not Rich Text, and is not editable. The links are functional, but the Web Parts do not appear. This "text only" page, in turn, has a Show web parts only link which returns the user to the mblwp.aspx page.

Tip

If you want to see how the page would look on a device that does not support Rich Text, but you have no such device or emulator, you can force a browser, device, or emulator to show a wiki-enabled page with mblwp.aspx instead of mblwiki.aspx: Navigate to the page and the mblwiki.aspx version will open. Manually replace the "wiki" in the file name with "wp" and press Enter.

The mblwpdetail.aspx page provides a more detailed view of the information on a mblwp.aspx page.