This topic has not yet been rated - Rate this topic

SPField.GetFieldValueForEdit method

Gets the field value that is rendered in Edit mode in Edit and New forms.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public virtual string GetFieldValueForEdit(
	Object value
)

Parameters

value
Type: System.Object
The value to convert.

Return value

Type: System.String
The field value that is rendered in Edit mode.

In a custom type-specific class, override this method to convert the field value; for example, to convert a DateTime value to a display format that is based on the locale and calendar of end users in Edit and New forms.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.