[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Data.Linq
  [Expand]DevExpress.Web
  [Expand]DevExpress.Web.ASPxGauges
  [Expand]DevExpress.Web.ASPxGauges.Base
  [Expand]DevExpress.Web.ASPxGauges.Scripts
  [Expand]DevExpress.Web.ASPxHtmlEditor
  [Expand]DevExpress.Web.ASPxHtmlEditor.Localization
  [Expand]DevExpress.Web.ASPxHtmlEditor.Scripts
  [Expand]DevExpress.Web.ASPxPivotGrid
  [Expand]DevExpress.Web.ASPxPivotGrid.Data
  [Expand]DevExpress.Web.ASPxPivotGrid.HtmlControls
  [Collapse]DevExpress.Web.ASPxPivotGrid.Scripts
   [Expand]ASPxClientClickEventArgs Class
    ASPxClientClickEventHandler Delegate
   [Expand]ASPxClientPivotCustomization Class
   [Collapse]ASPxClientPivotGrid Class
     ASPxClientPivotGrid Members
     ASPxClientPivotGrid Constructor
    [Expand]ASPxClientPivotGrid Events
    [Collapse]ASPxClientPivotGrid Methods
     [Expand]Cast Method
      ChangeCustomizationFieldsVisibility Method
      ChangePrefilterEnabled Method
      ClearPrefilter Method
      GetCustomizationFieldsVisibility Method
      HidePrefilter Method
      IsDeferUpdatesChecked Method
      IsPrefilterVisible Method
     [Collapse]PerformCallback Method
       PerformCallback(String) Method
       PerformCallback(String, Action<String>) Method
      SetCustomizationFieldsVisibility Method
      ShowPrefilter Method
   [Expand]ASPxClientPivotMenuItemClickEventArgs Class
    ASPxClientPivotMenuItemClickEventHandler Delegate
  [Expand]DevExpress.Web.ASPxRichEdit
  [Expand]DevExpress.Web.ASPxRichEdit.Localization
  [Expand]DevExpress.Web.ASPxRichEdit.Scripts
  [Expand]DevExpress.Web.ASPxScheduler
  [Expand]DevExpress.Web.ASPxScheduler.Commands
  [Expand]DevExpress.Web.ASPxScheduler.Commands.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Controls
  [Expand]DevExpress.Web.ASPxScheduler.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Drawing
  [Expand]DevExpress.Web.ASPxScheduler.Localization
  [Expand]DevExpress.Web.ASPxScheduler.Reporting
  [Expand]DevExpress.Web.ASPxScheduler.Scripts
  [Expand]DevExpress.Web.ASPxSpellChecker
  [Expand]DevExpress.Web.ASPxSpellChecker.Localization
  [Expand]DevExpress.Web.ASPxSpellChecker.Scripts
  [Expand]DevExpress.Web.ASPxSpreadsheet
  [Expand]DevExpress.Web.ASPxSpreadsheet.Localization
  [Expand]DevExpress.Web.ASPxSpreadsheet.Scripts
  [Expand]DevExpress.Web.ASPxTreeList
  [Expand]DevExpress.Web.ASPxTreeList.Internal
  [Expand]DevExpress.Web.ASPxTreeList.Localization
  [Expand]DevExpress.Web.ASPxTreeList.Scripts
  [Expand]DevExpress.Web.Captcha
  [Expand]DevExpress.Web.Data
  [Expand]DevExpress.Web.Internal
  [Expand]DevExpress.Web.Localization
  [Expand]DevExpress.Web.Mvc
  [Expand]DevExpress.Web.Mvc.BinderSettings
  [Expand]DevExpress.Web.Mvc.Controllers
  [Expand]DevExpress.Web.MVC.Scripts
  [Expand]DevExpress.Web.Mvc.UI
  [Expand]DevExpress.Web.Office
  [Expand]DevExpress.Web.Office.Internal
  [Expand]DevExpress.Web.Rendering
  [Expand]DevExpress.Web.Scripts
  [Expand]DevExpress.XtraCharts.Web
  [Expand]DevExpress.XtraCharts.Web.Designer
  [Expand]DevExpress.XtraCharts.Web.Scripts
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

ASPxClientPivotGrid.PerformCallback(String, Action<String>) Method

Sends a callback to the server and generates the server-side ASPxPivotGrid.CustomCallback event, passing it the specified argument.

Namespace:DevExpress.Web.ASPxPivotGrid.Scripts
Assembly:JavaScript

Expanded Syntax

Parameters

args
Type: String
A string value that represents any information that needs to be sent to the server-side ASPxPivotGrid.CustomCallback event.
onSuccess
Type: Action<String>
A client action to perform if the server round-trip completed successfully.

Expanded Remarks

Use the PerformCallback method if you need to asynchronously go to the server and perform some server-side processing using AJAX-based callback technology. You can pass the required information which can be collected on the client side as a string of arguments via the PerformCallback method's args parameter. 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 generates a server-side ASPxPivotGrid.CustomCallback event. The method's args argument is passed to the ASPxPivotGrid.CustomCallback event's handler as the PivotGridCustomCallbackEventArgs.Parameters property. So, the necessary server-side actions can be performed in the event's handler based upon the values of the arguments which can be obtained by parsing the passed information string.

Expanded See Also

Is this topic helpful?​​​​​​​