New to Telerik Reporting? Download free 30-day trial

Integrating the Report in .NET Framework Application

This article is part of the Demo report guide on getting started with Telerik Reporting and demonstrates how to include the report in a web application with the HTML5 Report Viewer.

  1. Open Visual Studio.

  2. Navigate to File > New > Project > ASP.NET Web Application (.NET Framework Visual C#).

  3. Select Empty project Template > OK.

  4. Right-click the project. Select Add > New Item > Telerik HTML5 Report Viewer Page [version]. Name the file "index.html".

  5. In the Configure reporting engine dialog, the selections will remain the same as set by default, that is, REST Service > Create new Rest Service). Click Next.

    Rest Srervice

  6. Click Existing report definition and select Choose an Existing check TRDP, TRDB or TRDX report definition to start embedding the report.

  7. Browse to the report location. Click Next > Next > Finish.

    Embed Report

  8. Include the connection string in the web.config file which is nececssary because of the added named connection string to the report. If the report uses an embedded connection, you do not have to add it again to the Visual Studio project. The connection string looks similar to the following:

    <add name="Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"
    connectionString="Data Source=(local)\SQLEXPRESS;Initial Catalog=AdventureWorks;Integrated Security=SSPI"

Previewing the Result

Preview the result by running the project.


Next Steps

Previous Steps

In this article
Not finding the help you need? Improve this article