Share via


SPMobileNumberField.CreateControlForEdit Method

Creates a control that renders the field on an Edit item form.

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

Syntax

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

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

Return Value

Type: System.Web.UI.MobileControls.MobileControl
A MobileControl that renders the field on an Edit form.

Remarks

This override calls the base method and appends a percentage sign "%" onto to the end if the ShowAsPercentage property (of the underlying SPFieldNumber object that is rendered by the SPMobileNumberField control) is true.

See Also

Reference

SPMobileNumberField Class

SPMobileNumberField Members

Microsoft.SharePoint.MobileControls Namespace