SPMobileChoiceField.CreateControlForNew Method

Creates a child selection control that renders the field on a New (item) page, subject to rendering limits.

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

Syntax

'Declaration
Protected Overrides Function CreateControlForNew As MobileControl
'Usage
Dim returnValue As MobileControl

returnValue = Me.CreateControlForNew()
protected override MobileControl CreateControlForNew()

Return Value

Type: System.Web.UI.MobileControls.MobileControl
A MobileControl selection control that renders the field.

Remarks

If OptionCount exceeds the value of OptionNumberLimit, options past the limit are not rendered.

CreateControlForNew calls CreateChoiceControl.

See Also

Reference

SPMobileChoiceField Class

SPMobileChoiceField Members

Microsoft.SharePoint.MobileControls Namespace