we are using the WCF loading scenario for our SLViewer. That works relatively good.
I want to relieve the server, because the rendering of the reports in the MS CLoud is very slow.
So I tried to load the report on client without the WCF Call.
But I think that this functionality is currently not supported, because I can't change the ConnectionString I used to do on the server.
I tried a different way but I think it didn't work.
Then I have several parameters I need to set for the report, because the embedded StoredProcedure needs it, but I think the didn't get into the report.
Is my guess true, that the loading of a parameterized report on the client-side isn't currently a feature, or do you know a workaround for me?
On the server-side this code-snippet is running successfully for the ConnectionString:
Code: Select all
foreach (var item in report.Dictionary.Databases.Items)
{
((Stimulsoft.Report.Dictionary.StiSqlDatabase)(item)).ConnectionString = ConfigurationManager.AppSettings["Reports"].ToString();
}
Code: Select all
report.CompiledReport.DataSources["dbo.sp_Report_010_Simple"].Parameters["@Language"].ParameterValue = Item.ParameterDictionary["@Language"].ToString();
I wish you a nice day,
kind regards
Daniel