Share via


ListViewWebPartMobileAdapter.CreateControlsForSummaryView method

NOTE: This API is now obsolete.

Renders a summary view of the ListViewWebPart that is appropriate for mobile devices.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")> _
Protected Overrides Sub CreateControlsForSummaryView
'Usage

Me.CreateControlsForSummaryView()
[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")]
protected override void CreateControlsForSummaryView()

Remarks

This override renders the control with an icon and the title (possibly truncated) of the Web Part (which is rendered as a link to the mobile list view page). Following this, it renders the first few list items (up to three by default) as links to the items. If the limit is exceeded, the bulleted list is followed by a link to the main mobile list view page. Users can change the number of items rendered in the view configuration UI of Microsoft SharePoint Foundation.

See also

Reference

ListViewWebPartMobileAdapter class

ListViewWebPartMobileAdapter members

Microsoft.SharePoint.WebPartPages namespace