ASPxDashboardViewer.CustomParameters Event

Occurs before data is loaded from the data store and allows you to customize dashboard parameters that are used for data processing.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v18.2.Web.WebForms.dll

Declaration

public event CustomParametersWebEventHandler CustomParameters
Public Event CustomParameters As CustomParametersWebEventHandler

The CustomParameters event handler receives an argument of the CustomParametersWebEventArgs type. The following properties provide information specific to this event.

Property Description
DashboardId Gets the identifier of the required dashboard.
Parameters Gets or sets dashboard parameters.

The CustomParameters event provides access to a collection of dashboard parameters (CustomParametersEventArgs.Parameters) and allows you to specify parameter values or add new parameters before they are passed to data queries.

Note

Parameter values specified in the CustomParameters event handler are used only for data processing and are not displayed in the Dashboard Parameters dialog.

Tip

To learn how to specify default parameter values by handling the ASPxDashboardViewer.DashboardLoaded event, see the following example: How to: Specify Default Parameter Values in the Web Viewer.

See Also