Spread ASP.NET 6.0 Product Documentation
UseClipboard Property
See Also  Example Send Feedback
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.