Share via


WebPartMobileAdapter.CreateControlsForDetailView method

NOTE: This API is now obsolete.

When overridden in a derived class, renders a detailed 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 CreateControlsForDetailView
'Usage

Me.CreateControlsForDetailView()
[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 CreateControlsForDetailView()

Remarks

The default implementation renders an icon, the Web Part’s title (possibly truncated), and a message saying that there is no detailed view of the Web Part. The icon is a link to the summary view.

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