Spread for ASP.NET 7.0 Product Documentation
Paste
See Also Support Options
Spread for ASP.NET 7.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > Paste

Glossary Item Box

Pastes the Clipboard contents to the cells, starting with the active cell.

Syntax

[JavaScript]

FpSpread1.Paste();

Parameters

None

Return Type

None

Remarks

This method is similar to pressing the Paste button on the command bar. This method does not cause a postback to occur.

Example

This is a sample that contains the method. On the client side, the script that contains the method would look like this:

JavaScript Copy Code
<SCRIPT>
  function moveSelection() {
    FpSpread1.Copy(); // copies selection to Clipboard
    FpSpread1.SetActiveCell(0,0); // goes to top of displayed sheet
    FpSpread1.Paste(); // pastes selection
  }
</SCRIPT>

See Also

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