ReportViewer In Silverlight

8 posts, 0 answers
  1. Richard
    Richard avatar
    15 posts
    Member since:
    Jun 2008

    Posted 03 Feb 2009 Link to this post

    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,

  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 03 Feb 2009 Link to this post

    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.
  3. DevCraft banner
  4. Richard
    Richard avatar
    15 posts
    Member since:
    Jun 2008

    Posted 03 Feb 2009 Link to this post

    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,
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 04 Feb 2009 Link to this post

    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.
  6. Nick
    Nick avatar
    5 posts
    Member since:
    Jun 2006

    Posted 09 Jun 2009 Link to this post

    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
  7. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 12 Jun 2009 Link to this post

    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.
  8. Nick
    Nick avatar
    5 posts
    Member since:
    Jun 2006

    Posted 12 Jun 2009 Link to this post

    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
  9. Vassil Petev
    Admin
    Vassil Petev avatar
    1765 posts

    Posted 15 Feb 2010 Link to this post

    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.
Back to Top
DevCraft banner