Hi,
I was wondering if it was possible to only scale a report horizontally to where it will fill the entire width of the container, so it will basically behave like a table with columns that have a percentage width and not a fixed one. I am trying to avoid any height changes for any of the controls on the report as well as the font size.
Currently I am generating the reports programatically using the html5 interactive mode, is there perhaps a different mode I should be using to achieve the above requirements?
Secondly, while using RenderReport like so:
the second stream, which is the css stream, appears to close before this call returns, which means that it can no longer be used. As a workaround, I am keeping track of the temp files used for each stream and parsing those in order to get the contents. Is there perhaps a setting I am missing?
Thanks,
I was wondering if it was possible to only scale a report horizontally to where it will fill the entire width of the container, so it will basically behave like a table with columns that have a percentage width and not a fixed one. I am trying to avoid any height changes for any of the controls on the report as well as the font size.
Currently I am generating the reports programatically using the html5 interactive mode, is there perhaps a different mode I should be using to achieve the above requirements?
Secondly, while using RenderReport like so:
var report = new T { DataSource = data };
var instanceReportSource = new InstanceReportSource { ReportDocument = report };
System.Collections.Hashtable deviceInfo = new System.Collections.Hashtable();
deviceInfo["ContentOnly"] = true;
Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
reportProcessor.RenderReport(
"HTML5Interactive"
, instanceReportSource, deviceInfo,
this
.CreateStream,
out
documentName);
the second stream, which is the css stream, appears to close before this call returns, which means that it can no longer be used. As a workaround, I am keeping track of the temp files used for each stream and parsing those in order to get the contents. Is there perhaps a setting I am missing?
Thanks,