This is a migrated thread and some comments may be shown as answers.

ReportViewer In Silverlight

7 Answers 398 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 03 Feb 2009, 02:19 PM
Hi

What is the best way to view Telerik reports inside a silverlight application, also i wish to pass parameters for the report from the silverlight gui ( dates etc. )

Regards,

7 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 03 Feb 2009, 03:08 PM
Hi Richard,

As far as we know, silverlight runs in the context of a web page, so you can use our web ReportViewer to show a report. As far as we understand you want to gather some parameters from a silverlight app and pass this to another page with a ReportViewer that would show corresponding report data. You can do that by accessing the ReportParameters directly from the ReportViewer: this.ReportViewer1.Report.ReportParameters["MyParam"].Value = <your value>;

UPDATE: Telerik Reporting supports Silverlight applications starting in Q3 2009. Download Telerik Reporting Q3 2009 from your accounts and check the Silverlight Report Viewer help topic for more information.

Kind regards,
Steve
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Richard
Top achievements
Rank 1
answered on 03 Feb 2009, 04:44 PM
Hi Steve

Thanks for the reply , but i am not sure if i explained myself very well, i would like to view the Telerik reports inside a XAML control, but the only way i have been able to view the reports is via an iframe on top of the silverlight app. ( see below )

<

 

div id="silverlightControlHost">

 

 

 

<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">

 

 

 

<param name="source" value="ClientBin/MenuManager.xap"/>

 

 

 

<param name="onerror" value="onSilverlightError" />

 

 

 

<param name="background" value="white" />

 

 

 

<param name="minRuntimeVersion" value="2.0.31005.0" />

 

 

 

<param name="autoUpgrade" value="true" />

 

 

 

<a href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;">

 

 

 

<img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style: none"/>

 

 

 

</a>

 

 

 

 

 

 

</object>

 

</div>

 

 

 

<iframe id="iframeReport" style="position:absolute;top:120px;left:0px;width:200px;height:200px;visibility:hidden;margin-left:15px;" src=""></iframe>

The above does view the reports but this sits over silverlight not in silverlight.

 

 

 

 

 

 

 
and the only way i can pass parameters is silverlight > .aspx > report viewer, it all works but very ugly, i was sue there must be a better way to achieve my goal.

Regards,
0
Steve
Telerik team
answered on 04 Feb 2009, 08:50 AM
Hi Richard,

There is currently no other way to do this and introducing a "true" silverlight viewer is not in our short-term plans.

Sorry for the inconvenience.

Best wishes,
Steve
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nick
Top achievements
Rank 1
answered on 09 Jun 2009, 12:46 PM
Hi Steve,

It is a shame that you guys are not going to introduce this feature yet (if at all).  Dropping a report viewer onto a aspx page or windows form is very useful.  With the future release of Silverlight 3 on the way, the technique Richard mentioned will not be possible if the user was to run the app in "browerless" mode!

I think it would be wise for your team to reconsider the importance of such a control to the silverlight platform.

Apart from that....keep up the good work!

Nick
0
Steve
Telerik team
answered on 12 Jun 2009, 07:47 AM
Hi Nick,

Thank you for the kind words. We have this in our features list and it would be considered for implementation. Generally the more people request this functionality, the bigger the chance is that we implement it sooner.

Kind regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Nick
Top achievements
Rank 1
answered on 12 Jun 2009, 08:21 AM
Hi Steve,

Thanks for your response, thats good to know, I just hope that other developers who think this will be useful can also take the time to request it.

Nick
0
Vassil Petev
Telerik team
answered on 15 Feb 2010, 02:59 PM
Hi guys,

In case you have missed the news, Telerik Reporting now supports Silverlight internally through the first Silverlight viewer in the industry.

Download Telerik Reporting Q3 2009 from your accounts and check the Silverlight Report Viewer help topic for more information.


Kind regards,
Vassil
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Richard
Top achievements
Rank 1
Answers by
Steve
Telerik team
Richard
Top achievements
Rank 1
Nick
Top achievements
Rank 1
Vassil Petev
Telerik team
Share this question
or