SPMobileBaseFieldControl.CreateControlForView Method

Creates a control for rendering the field on a list view page.

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


Protected Overridable Function CreateControlForView As MobileControl
Dim returnValue As MobileControl

returnValue = Me.CreateControlForView()
protected virtual MobileControl CreateControlForView()

Return Value

Type: System.Web.UI.MobileControls.MobileControl
A MobileControl that renders the field on a list view page.


The default implementation calls either CreateControlAsLink or CreateControlAsLabel, depending on whether NeedLinkRendering is true.

See Also


SPMobileBaseFieldControl Class

SPMobileBaseFieldControl Members

Microsoft.SharePoint.MobileControls Namespace