A client action to perform if the server round-trip completed successfully.
Use the PerformCallback method if you need to dynamically update the PivotGrid by asynchronously going to the server (using AJAX-based callback technology) and performing server-side processing in the specified Action. Via the PerformCallback method's data parameter, you can pass any information collected on the client to the server for further server processing. The onSuccess parameter allows you to specify a client function that should be executed after the server round-trip completed successfully.
The PerformCallback method posts back to the server using the callback technology and is handled in an Action specified by the PivotGrid's PivotGridSettings.CustomActionRouteValues property. Any data passed via the method's data parameter can be accessed on the server as a parameter of the specified Action. So, the necessary server-side actions can be performed in the handling Action based upon the value(s) passed from the client.
For instance, you can pass values as a hash table.