Log In
[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]Report Server
 [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]Design-Time Features
  Video Tutorials
  End-User Documentation
 [Expand]Redistribution and Deployment
 [Expand]Member Tables
 [Expand]API Reference
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Create an ASP.NET MVC Viewer for Displaying a Dashboard

This document describes how to use the ASP.NET MVC Dashboard extension as a Dashboard Viewer. See the tutorials below before creating the ASP.NET MVC Viewer:

  1. Create an ASP.NET MVC Designer
    In this tutorial, you create a Dashboard Designer web application.

  2. Create a Dashboard using the Web Dashboard
    This lesson shows you how to create a dashboard in a browser. The saved dashboard definition (dashboard1.xml) is added to the ~/App_Data/Dashboards folder.

You can now switch your Dashboard Designer application to the Viewer mode.

  1. In a project created in this lesson, open the Views | Home | Index.cshtm file.

  2. Add the following code within the MvcDashboardFactory.Dashboard helper method:

  3. Run the application. The ASP.NET MVC Dashboard extension displays the dashboard from ~/App_Data/Dashboards.

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