BaseNumberField.Validate Method
Verifies that the value of BaseNumberField, as it appears in the UI, is a permissible value for the field.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides Sub Validate
'Usage
Dim instance As BaseNumberField
instance.Validate()
public override void Validate()
Implements
Remarks
Validate verifies the value of the control in the UI, not the underlying value (which is the ItemFieldValue property of the SPFieldNumber object that has the BaseNumberField as its FieldRenderingControl property). Use Validate only when you need validation of the UI value. To validate ItemFieldValue, use GetValidatedString().