Spread for ASP.NET 11 Product Documentation
UpdatePostBackData
Spread for ASP.NET 11 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > UpdatePostBackData

Saves the changes to the postback data.

Syntax

[JavaScript]

FpSpread1.UpdatePostbackData();

Parameters

None

Return Type

None

Remarks

Some changes to the display (either by code or by user interaction) can be lost on Update because those changes are not made to the postback data. This method makes those updates to the postback data. This method does not cause a postback to occur. To have those changes applied to the server, use the Update method.

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 type="text/javascript">
   function onPostback() {
       FpSpread1.UpdatePostbackData(); // update the postback data
   }
</script>
See Also