Skip to main content

ASPxDashboard Class

A Web Dashboard control, which allows you to create new dashboards from scratch and display them to end-users.

Namespace: DevExpress.DashboardWeb

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

NuGet Package: DevExpress.Web.Dashboard

Declaration

[DXDocumentationProvider("Getting Started", "#Dashboard/CustomDocument115782")]
[ToolboxBitmap(typeof(ASPxDashboard), "Bitmaps256.ASPxDashboardDesigner.bmp")]
public class ASPxDashboard :
    ASPxWebClientUIControl,
    IJSONCustomObject,
    IDataSessionConsumer,
    IEventStorageProvider,
    IDashboardStateService

Remarks

The following code shows how to handle client and server events and set initial values of the extension’s properties:

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<script type="text/javascript">
    function onBeforeRender(sender) {
        var control = sender.GetDashboardControl();
        control.registerExtension(new DevExpress.Dashboard.DashboardPanelExtension(control, { dashboardThumbnail: "./Content/DashboardThumbnail/{0}.png" }));
    }
</script>
    <dx:ASPxDashboard ID="ASPxDashboard1" runat="server" Width="100%" Height="100%" ondataloading="DataLoading" AllowInspectAggregatedData="true">
        <ClientSideEvents BeforeRender="onBeforeRender" />
    </dx:ASPxDashboard>
</asp:Content>

The following documentation is available for the Web Dashboard control:

See Also