Spread for ASP.NET 10 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > Update |
Saves the changes to the Spread object on the client back to the server.
[JavaScript]
FpSpread1.Update();
None
None
This method is similar to pressing the Update button on the command bar. This method causes a postback to occur. When this method is called, the Update event is raised on the server.
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 type="text/javascript"> function onUpdateButtonClick() { FpSpread1.Update(); // updated to server } </script> |