Page 1 of 1
StiSLViewerControl with Silverlight an WCF
Posted: Thu Mar 08, 2012 10:30 pm
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
StiSLViewerControl with Silverlight an WCF
Posted: Fri Mar 09, 2012 4:30 am
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.
StiSLViewerControl with Silverlight an WCF
Posted: Fri Mar 09, 2012 11:08 am
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
StiSLViewerControl with Silverlight an WCF
Posted: Fri Mar 09, 2012 2:39 pm
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.
StiSLViewerControl with Silverlight an WCF
Posted: Thu Apr 12, 2012 2:14 am
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.
StiSLViewerControl with Silverlight an WCF
Posted: Fri Apr 13, 2012 4:44 am
by Alex K.
Hello,
Can you please describe your task in more details? And, if possible, send us a sample.
Thank you.