Tab

ASPxGridCustomCallbackEventArgs.Parameters Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

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();
     }
}
See Also