Skip to main content
Tab

ASPxGridCustomCallbackEventArgs.Parameters Property

Gets a string that contains specific information (if any) passed from the client side.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public string Parameters { get; }

Property Value

Type Description
String

A string value that contains specific information collected on the client side and passed to the event for further server-side processing.

Remarks

Use the Parameters property to obtain specific information that has been collected on the client side and passed by the client PerformCallback method to the server for further server-side processing.

You can use the Parameters property to recognize different kinds of callbacks to perform different actions on the server side.

Example

protected void Grid_CustomCallback(object sender, ASPxGridViewCustomCallbackEventArgs e) {
     if(e.Parameters == "ApplyCustomFilter")
          Grid.FilterExpression = "City = 'Bratislava'";
     if(e.Parameters == "ApplyCustomGrouping") { 
          Grid.DataColumns["City"].GroupBy();
          Grid.ExpandAll();
     }
}

The following code snippets (auto-collected from DevExpress Examples) contain references to the Parameters property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also