Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to bind a dashboard to a List object

$
0
0

The following example demonstrates how to bind a dashboard to a List object.


In this example, information about the sold units quantity is provided at runtime. The dashboard data source is added to the Dashboard.DataSources collection on the first load.

To update the displayed data, the DashboardViewer.ReloadData method is called. This raises the DashboardViewer.DataLoading event and allows supplying the dashboard with updated data.

Question Comments

Added By: GUILHERME ROCHA at: 5/2/2014 2:50:26 PM    

would be possible to load the dashboard of a list of objects in a web project?
In web project there is no "dashboardViewer1.Dashboard = dashboard" property. I tried to replace "ASPxDashboardViewer1.DashboardSource = dashboard" not working. How could I do in this case?

I need use this exemple in web project.. help me!

Added By: John (DevExpress Support) at: 5/5/2014 4:52:57 AM    To achieve this goal in Web application it is necessary to create a dashboard via Dashboard designer in the same manner as illustrated in this example and assign this dashboard to ASPxDashboardViewer. To load list data to the viewer, handle the DataLoading event.
I suggest you review the How to: Load a Dashboard at Runtime using Web Viewer help topic.Added By: Christer Sehlstedt at: 6/8/2015 8:42:30 AM    

How is this possible in ASP.Net ?

Added By: John (DevExpress Support) at: 6/9/2015 2:04:43 AM    Hi Christer,
I have created a separate ticket for this question on your behalf: How to bind a dashboard to a List object in ASP.Net Let's continue the conversation there.

Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>