How to create Business Objects from the Designer

Stimulsoft Reports.Silverlight discussion
Locked
nitinsobti
Posts: 19
Joined: Wed Sep 19, 2012 3:07 pm

How to create Business Objects from the Designer

Post by nitinsobti »

Hello,

We are evaluating Stimulsoft for a Silverlight reporting solution but we are having issues and are stuck at this point.
We created a SQL DataSource and bound the DataBand control to the SQL query. The Silverlight preview works in the designer. However, we cannot get the report data to load from our Silverlight application using Visual Studio 2010.

Below is a code snippet. Please advise.

var stream = System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("Budgeting.ReportDemo.mrt");
StiReport report = new StiReport();
report.Load(stream);
stream.Close();
stream.Dispose();
stream = null;
report.DataSources[0].ConnectOnStart = true;
report.DataSources[1].ConnectOnStart = true;
//I believe the below 2 lines are stumping us
object value = report.DataSources["MyObject"];
report.RegBusinessObject("MyObject", "MyObject",value);
report.Render();
report.Show();
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How to create Business Objects from the Designer

Post by HighAley »

Hello.

Unfortunately, native version of the Silverlight supports the Business Objects only.
The Data Source support is in the client-server version but then you couldn't call Render() method on the client side.

Thank you.
nitinsobti
Posts: 19
Joined: Wed Sep 19, 2012 3:07 pm

Re: How to create Business Objects from the Designer

Post by nitinsobti »

Thanks. We figured out how to do that yesterday but there wasn't much documentation available for this.

Also, do you know if Stimulsoft supports data cubes for analysis purposes?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: How to create Business Objects from the Designer

Post by Alex K. »

Hello,
nitinsobti wrote:Also, do you know if Stimulsoft supports data cubes for analysis purposes?
Unfortunately, but on current moment we does not support the cubes. But we have plans to realize it.
Thank you.
Locked