BaseXsltListWebPart.JSLink property

URL that points to the .JS file that should be used to render the Web Part DataView. If this URL cannot be retrieved, the Js property will be used instead.

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

Syntax

'Declaration
<ManagedLinkAttribute(Fixup := True)> _
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<RequiresDesignerPermissionAttribute> _
Public Property JSLink As String
    Get
    Set
'Usage
Dim instance As BaseXsltListWebPart
Dim value As String

value = instance.JSLink

instance.JSLink = value
[ManagedLinkAttribute(Fixup = true)]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[RequiresDesignerPermissionAttribute]
public string JSLink { get; set; }

Property value

Type: System.String
String version of the URL to the XSL/T

See also

Reference

BaseXsltListWebPart class

BaseXsltListWebPart members

Microsoft.SharePoint.WebPartPages namespace