StiSLViewerControl with Silverlight an WCF

Stimulsoft Reports.Silverlight discussion
Locked
NadiaTeles
Posts: 15
Joined: Wed Apr 06, 2011 2:56 pm
Location: BR

StiSLViewerControl with Silverlight an WCF

Post by NadiaTeles »

Hi.

1 - I am using StiSLViewerControl. This control is in a childwindow. When I call this page from MainPage, it appeared in childwindow behind. I wold like it appeared on child. How to resolve?

2 - I need to change the StiSLViewerControl culture for Brasil (pt-BR.xml ).

3 - Because is necessary to return xml data from service to render report as in the WCF example? Because that is necessary?[

Code: Select all

viewer.ApplyRenderedReport(e.Result);      e.Result - return xml
Thankyou

Teles
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

StiSLViewerControl with Silverlight an WCF

Post by Alex K. »

Hello,
1 - I am using StiSLViewerControl. This control is in a childwindow. When I call this page from MainPage, it appeared in childwindow behind. I wold like it appeared on child. How to resolve?
1. We not recomendet using ChildWindow, please try to use our class Stimulsoft.Controls.SL.StiWindow
2 - I need to change the StiSLViewerControl culture for Brasil (pt-BR.xml ).
If you mean localization, please see the sample Demo.SL from instalation.
3 - Because is necessary to return xml data from service to render report as in the WCF example? Because that is necessary?
Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?

Thank you.
NadiaTeles
Posts: 15
Joined: Wed Apr 06, 2011 2:56 pm
Location: BR

StiSLViewerControl with Silverlight an WCF

Post by NadiaTeles »

Hello

Question 1 - I need to present the StiSLViewerControl in a floating page as well as childwindow and I would like progress bar. Give me, example please.

Question 2 - Resolved


Question 3 - Because is necessary to return xml data from service to render report as in the WCF example? Because that is necessary?
The example Silverlight C# with WCF supplied for the Stimulsoft it makes this.
viewer.ApplyRenderedReport(e.Result)

e.Result - return xml

I did not understand because this.
Thankyou

Teles
Anton Lozovskiy
Posts: 135
Joined: Tue Aug 11, 2009 9:38 am

StiSLViewerControl with Silverlight an WCF

Post by Anton Lozovskiy »

Hello,

>>Question 1 - I need to present the StiSLViewerControl in a floating page as well as childwindow and I would like progress bar. Give me, example please.

See the attached sample project

Question 3 - Because is necessary to return xml data from service to render report as in the WCF example? Because that is necessary?
The example Silverlight C# with WCF supplied for the Stimulsoft it makes this.
viewer.ApplyRenderedReport(e.Result)

e.Result - return xml

I did not understand because this.
e.Result includes additional information about report, what you needfor full work of viewer (Interactions, variables ...)

Thank you.
Attachments
1704.ViewerSample.zip
(18.42 KiB) Downloaded 339 times
StromaNN
Posts: 2
Joined: Tue Jan 19, 2010 3:58 am
Location: St Petersburg

StiSLViewerControl with Silverlight an WCF

Post by StromaNN »

I have a huge problem with localization.

First of all, the "Embedded resource" doesn't work in Silverlight, and MSDN says it directly: http://msdn.microsoft.com/en-us/library ... s.95).aspx
I tried to use build action "Resource", but it didn't help me.

And, of course, I have seen your sample, and it works o_O.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

StiSLViewerControl with Silverlight an WCF

Post by Alex K. »

Hello,

Can you please describe your task in more details? And, if possible, send us a sample.

Thank you.
Locked