InputFormRequiredFieldValidator.FriendlyNameOfControlToValidate Property

Gets or sets a value that represents the friendly name of the control to be validated, which is different from its clientID, which must be unique.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property FriendlyNameOfControlToValidate As String
    Get
    Set
'Usage
Dim instance As InputFormRequiredFieldValidator
Dim value As String

value = instance.FriendlyNameOfControlToValidate

instance.FriendlyNameOfControlToValidate = value
public string FriendlyNameOfControlToValidate { get; set; }

Property Value

Type: System.String
The friendly name of the control.

See Also

Reference

InputFormRequiredFieldValidator Class

InputFormRequiredFieldValidator Members

Microsoft.SharePoint.WebControls Namespace