there is a table for each dashboard that contains a thumbnail picture and name of it, I want to by clicking on each table show the dashboard,(like the demo site but in MVC). this is the function for Onclick event of tables.
Code: Select all
function loadReportToViewer(reportName) {
$.ajax({
async: false,
url: '/ViewDashboard/GetReport',
data: JSON.stringify({ id: reportName }),
dataType: 'json',
contentType: 'application/json; charset=utf-8'
}).done(function() {
alert('Added');
});
}
in the old way, these 3 actions called: ViewDashboard, GetReport, ViewerEvent.
If you have done something similar, please let me know.
Thanks.