Try Now
More in this section

Forums / Developing with Sitefinity / Sitefinity and Telerik Reporting

Sitefinity and Telerik Reporting

3 posts, 0 answered
  1. David Whritenour
    David Whritenour avatar
    22 posts
    30 Nov 2009
    02 Jun 2011
    Link to this post

    I am running Sitefinity 4.1.
    I would like to add a Telerik Report into a Widget (User Control).
    Is this possible?
    I cannot find any documentation regarding the best approach to embedding a Telerik Report into Sitefinity.

    David Whritenour
  2. Steve
    Steve avatar
    3037 posts
    03 Dec 2008
    03 Jun 2011
    Link to this post
    It's just plain asp.net :)

    Just make a ascx usercontrol, plop the Telerik Reporting Viewer into it, then expose some public properties to set the report, Parameters, or whatever!

    Should be cake...

    ** EDIT: and register the control in the Settings Toolbox **
  3. David Whritenour
    David Whritenour avatar
    22 posts
    30 Nov 2009
    03 Jun 2011
    Link to this post

    Here are the steps I followed.  I wanted to post this because step six tripped me up for a while. 
    Hope this saves someone else some development time.

    Steps to add Telerik Report to Sitefinity 4.1

    1. Created a Widget (User Control) and registered it with Sitefinity.  This process is described here:
    2. Added a new Class Library Project (called MyReports) to the Sitefinity 4.1 Project.  Deleted the Class Library and created a new Telerik Report.  The process is outlined here:
    3. Dragged a Telerik ReportViewer Control into the Widget created in step one.
    4. In the Sitefinity Project, added a reference to the MyReports project.
    5. Set the Report Property of the Telerik ReportViewer Control to the report created in step two.
    6. Added the connection string from the app.config file of the MyReports Project to the web.config file of the Sitefinity Project.  This explained in the following forum post:
    7. Built Project and tested - seems to work okay.

3 posts, 0 answered