Share via


SPFieldChoice.JSLink property

Gets or sets the name of an external JavaScript file that contains any client rendering logic for fields of this type.

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

Syntax

'Declaration
Public Overrides Property JSLink As String
    Get
    Set
'Usage
Dim instance As SPFieldChoice
Dim value As String

value = instance.JSLink

instance.JSLink = value
public override string JSLink { get; set; }

Property value

Type: System.String
The name of the file.

Remarks

This override returns "clienttemplates.js" by default.

The JSLink property is not supported on Survey or Events lists. A SharePoint calendar is an Events list.

See also

Reference

SPFieldChoice class

SPFieldChoice members

Microsoft.SharePoint namespace