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

Protected Overrides Function CreateControlForNew As MobileControl

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; instead, a warning message informs the user that some options are not shown.

CreateControlForNew calls CreateChoiceControl.

See Also

Reference

SPMobileChoiceField Class

SPMobileChoiceField Members

Microsoft.SharePoint.MobileControls Namespace