Udostępnij za pośrednictwem


SPContentType.RequireClientRenderingOnNew Property

Indicates whether the client is responsible for rendering a new document when it is created.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property RequireClientRenderingOnNew As Boolean
    Get
    Set
'Usage
Dim instance As SPContentType
Dim value As Boolean

value = instance.RequireClientRenderingOnNew

instance.RequireClientRenderingOnNew = value
public bool RequireClientRenderingOnNew { get; set; }

Property Value

Type: System.Boolean
true if new documents are rendered on the client, otherwise; false. The default is true.

Remarks

By default, the control specified in the NewDocumentControl property is used to render a new document on the client. If you want the new document to render on the server, set the value of this property to false.

See Also

Reference

SPContentType Class

SPContentType Members

Microsoft.SharePoint Namespace

Other Resources

Introduction to Content Types

Site and List Content Types

Base Content Type Hierarchy