ConfigureDataConnectionWebEventArgs Class

Provides data for the ConfigureDataConnection events.

Namespace: DevExpress.DashboardWeb

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


public class ConfigureDataConnectionWebEventArgs :
Public Class ConfigureDataConnectionWebEventArgs
    Inherits DashboardConfigureDataConnectionEventArgs


The ConfigureDataConnection events are raised before the connection to a database is established and allows you to customize connection settings. Handle this event to change the parameters required to establish a connection to data (for instance, the server name, the database name, user credentials, the path to a data file, etc). To learn more, see the following topics.


This example demonstrates how to customize connection settings before ASPxDashboardViewer connects to a database using the ASPxDashboardViewer.ConfigureDataConnection event.

In this example, the dashboard visualizes data from the secured Microsoft Access database. To visualize data from this database file, it is necessary to provide connection parameters (a path to the database file, a user name and a password for authentication).

<%@ Page Language="C#" AutoEventWireup="true" 
                       Inherits="Dashboard_ConfigureDataConnection_Web.WebForm1" %>

<%@ Register Assembly="DevExpress.Dashboard.v15.1.Web, Version=, 
    Namespace="DevExpress.DashboardWeb" TagPrefix="dx" %>

<!DOCTYPE html>

<html xmlns="">
<head runat="server">
    <form id="form1" runat="server">
        <dx:ASPxDashboardViewer ID="ASPxDashboardViewer1" runat="server" 
            Height="800px" Width="1200px">
See Also