Stimulsoft WPF Possibilities

Stimulsoft Reports.WPF discussion
Post Reply
Patrick Vletter
Posts: 2
Joined: Thu Nov 01, 2012 11:09 pm

Stimulsoft WPF Possibilities

Post by Patrick Vletter »

Hi All,

I'm evaluating Stimulsoft for my application-development and I would lik to ask some questions over here:

1) Is it possible to host the Report Designer and the Report Viewer inside my application. In the samples I've found so far i see that a new window is started for the designer or the viewer. I'm creating an application that would need to host the designer and the viewer in documentpanes inside the application itself.
If this is possible could you provide me with some basic samplecode of how to do this to get me starting?

2) Although it may sound strange, I do not have the database on which I want to do the reporting available at the moment the report is being designed. I do have all the information that is needed to create the database available. This (meta)data is volatile though. I could create a new database everytime I start up a new designer window, but that would be hard to manage if multiple reports are being the designed at the same time and seems a bit like an overkill. From what I understand I can use a XSD file to design the database and later on, when the report is rendered, I could change the DataSource to a Database that contains the exact tables that where described in the XSD are avaiable.
Could someone confirm (of not confirm ;) ) that this scenario is possible. If it would be possible to send me a few lines of code to get met starting here that would also be much appreciated.

Please understand that I'm not trying to be lazy here. It's just that Stimulsoft seems to have an amazing amount of possibilities and getting started here is difficult

Thanks for your time and effort,

Kind regards,
Patrick
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Stimulsoft WPF Possibilities

Post by HighAley »

Hello, Patrick.
Patrick Vletter wrote:1) Is it possible to host the Report Designer and the Report Viewer inside my application. In the samples I've found so far i see that a new window is started for the designer or the viewer. I'm creating an application that would need to host the designer and the viewer in documentpanes inside the application itself.
If this is possible could you provide me with some basic samplecode of how to do this to get me starting?
You could use the StiWpfViewerControl and StiWpfDesignerControl to embed it in your application.
Patrick Vletter wrote:2) Although it may sound strange, I do not have the database on which I want to do the reporting available at the moment the report is being designed. I do have all the information that is needed to create the database available. This (meta)data is volatile though. I could create a new database everytime I start up a new designer window, but that would be hard to manage if multiple reports are being the designed at the same time and seems a bit like an overkill. From what I understand I can use a XSD file to design the database and later on, when the report is rendered, I could change the DataSource to a Database that contains the exact tables that where described in the XSD are avaiable.
Could someone confirm (of not confirm ;) ) that this scenario is possible. If it would be possible to send me a few lines of code to get met starting here that would also be much appreciated.
You you could do so. Here is a sample code:

Code: Select all

report.DataSources.Clear();
report.RegData(name, dataset);
report.Dictionary.Synchronize();
Thank you.
Post Reply