UL_2012.03.09 load parameterized report on client

Stimulsoft Reports.Silverlight discussion
Locked
dstoermer
Posts: 14
Joined: Tue Sep 20, 2011 12:34 am

UL_2012.03.09 load parameterized report on client

Post by dstoermer »

Hi all,
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();
                }
And this for the parameter:

Code: Select all

report.CompiledReport.DataSources["dbo.sp_Report_010_Simple"].Parameters["@Language"].ParameterValue = Item.ParameterDictionary["@Language"].ToString();
I hope there is an equivalent to the loading on the server.

I wish you a nice day,
kind regards
Daniel
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

UL_2012.03.09 load parameterized report on client

Post by Alex K. »

Hello,

Can you please send us a sample project which reproduce the issue for analysis.

Thank you.
Locked