I'm using 2019.1.1
On Page_Load event I have the following:
Code: Select all
StiReport myReport = new StiReport();
myReport.Load(strReportAbsolutePath);
myReport.Dictionary.Variables["MyVar"].Value = Session["var"].ToString();
Do Dashboards support the variables?
Do I need to load the dashboard inside a report like this
Code: Select all
var report = new StiReport();
report.Pages.Clear();
var dashboard = new StiDashboard();
report.Pages.Add(dashboard);
Thank you