Share via


SPMobileUrlField.CreateControlForNew Method

Creates a control for rendering the field on a New item form.

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; specifically, a TextBox; that renders the field on a New form.

Remarks

This override sets the default text to "http://".

See Also

Reference

SPMobileUrlField Class

SPMobileUrlField Members

Microsoft.SharePoint.MobileControls Namespace