The following code sample shows how to read the HTML code of a saved report and display it on a page:
[C#]
using CMS.Reporting;
...
// Saved report id private int mSavedReportId = 10;
// Saved report info object SavedReportInfo sri = null;
// Get saved report info by id sri = SavedReportInfoProvider.GetSavedReportInfo(mSavedReportId);
if (sri != null) { // Set saved report HTML to the literal control text ltrReportHTML.Text = sri.SavedReportHTML; } |
Page url: http://devnet.kentico.com/docs/devguide/index.html?getting_html_code_of_a_saved_report.htm