Code: Select all
var stream = new MemoryStream();
var report = new StiReport();
report.RegData("MyItem", myCollection);
report.Render(false);
report.SaveDocument(stream);
//Then I do this on the client
//This is where the error occurs
report.LoadDocument(stream);
report.Show();
stiWpfViewerControl1.Report = report;