Share via


WebPartMobileAdapter.CreateControlsForSummaryView method

NOTE: This API is now obsolete.

When overridden in a derived class, renders a summary view of the Web Part on 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 Overridable 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 virtual void CreateControlsForSummaryView()

Remarks

The default implementation renders an icon and the Web Part’s title (possibly truncated). The icon is a link to the detailed view of the Web Part.

Do not call this method from your own code. The Microsoft SharePoint Foundation mobile adaption framework will call it as part of the Load event handling.

See also

Reference

WebPartMobileAdapter class

WebPartMobileAdapter members

Microsoft.SharePoint.WebPartPages namespace