Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Collapse]Dashboard
 [Collapse]Getting Started
   Build End-User Dashboard Applications using the Template Gallery
  [Expand]Build End-User Dashboard Designer Applications
  [Collapse]Build End-User Dashboard Viewer Applications
    Create a WinForms Viewer for Displaying a Dashboard
    Create an ASP.NET Viewer for Displaying a Dashboard
    Create an ASP.NET MVC Viewer for Displaying a Dashboard
    Create a WPF Viewer for Displaying a Dashboard (CTP)
  [Expand]Create a Dashboard in the Designer Application
   Create a Dashboard in Visual Studio
   Included Components
 [Expand]Basic Concepts and Terminology
 [Expand]Main Features
 [Expand]Building the Designer and Viewer Applications
 [Expand]Creating Dashboards
 [Expand]Examples
 [Expand]Design-Time Features
  Video Tutorials
  End-User Documentation
  Localization
 [Expand]Redistribution and Deployment
 [Expand]Member Tables
 [Expand]API Reference
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Create a WinForms Viewer for Displaying a Dashboard

This topic describes how to build a simple dashboard viewer application and use it to display the dashboard created in Create a Dashboard using the WinForms Designer.

Follow the steps below.

  1. Run Visual Studio and create a new Windows Forms Application.

  2. Drag the DashboardViewer control from the DX.17.2: Data & Analytics Toolbox tab and drop it onto the main form.

    Important

    Note that the DashboardViewer control does not support the .NET Framework 4.0 Client Profile. See How to: Target a Version of the .NET Framework to learn how to target a specific .NET Framework version.

  3. Click the control's smart tag button and select Dock in Parent Container to allow the DashboardViewer to fill the entire window.

  4. In the same menu, click Load Dashboard, use the invoked dialog to locate the dashboard XML file created in the first lesson, and choose this file as the DashboardSource.

    As an alternative, you can select a dashboard created at design time.

  5. Run the application to see the results.

How would you rate this topic?​​​​​​​