Spread for ASP.NET 7.0 Product Documentation
UseClipboard Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : UseClipboard Property


Glossary Item Box

Gets or sets whether to access the Clipboard with client-side scripting.

Syntax

Visual Basic (Declaration) 
Public Property UseClipboard As Boolean
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim value As Boolean
 
instance.UseClipboard = value
 
value = instance.UseClipboard
C# 
public bool UseClipboard {get; set;}

Property Value

Boolean: true to allow use of the Clipboard by client-side scripting; false to restrict use of the Clipboard from client-side scripting

Remarks

Microsoft Internet Explorer version 7.0 (IE7) pops up a warning when Spread client scripting accesses the Clipboard. To avoid this issue, you could either ask the end users to change their IE7 settings or you can set this property to false. When this property is set to false, Spread does not access the Clipboard with client scripting. The copy and paste operations still work inside of Spread. But you are not able to copy data from Spread to another application or copy data from another application to Spread.

This property does not have an effect in the Mozilla Firefox browser. Firefox does not support the Clipboard copy and paste.

Example

C#Copy Code
FpSpread1.UseClipboard = false;
Visual BasicCopy Code
FpSpread1.UseClipboard = False

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.