ASPxClientDashboardViewer.GetCurrentSelection(String) Method

Returns currently selected elements in the master filter item.

Namespace: DevExpress.DashboardWeb.Scripts

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


public ASPxClientDashboardItemDataAxisPointTuple[] GetCurrentSelection(
    string itemName
Public Function GetCurrentSelection(
    itemName As String
) As ASPxClientDashboardItemDataAxisPointTuple()


Type Name Description
String itemName

A String that specifies a component name of the master filter item.


Type Description

An array of ASPxClientDashboardItemDataAxisPointTuple objects that identify currently selected elements.


The Web Viewer allows you to add a custom interactivity to dashboards using the ASPxClientDashboardViewer.ItemVisualInteractivity event.

This example demonstrates the following capabilities:

  • The Grid dashboard item allows you to select categories and visualize a corresponding product quantity using the dxBarGauge widget. Note that the hidden 'Quantity' measure is used to pass the required values to the client.
  • The Chart dashboard item highlights bars corresponding to a hovered argument value.
using System;
using Dashboard_CustomVisualInteractivity_Web.nwindDataSetTableAdapters;

namespace Dashboard_CustomVisualInteractivity_Web {
    public partial class Dashboard1 : DevExpress.DashboardCommon.Dashboard {
        public Dashboard1() {

        private void Dashboard1_DashboardLoading(object sender, EventArgs e) {
            SalesPersonTableAdapter categories = new SalesPersonTableAdapter();
See Also