Skip Navigation LinksHome / Community & Support / Code Library / Telerik Reporting > General and Integration Projects > Using Telerik Web ReportViewer in ASP.NET MVC application

Not answered Using Telerik Web ReportViewer in ASP.NET MVC application

Feed from this thread
  • Posted on May 26, 2010 (permalink)

    Requirements

    Telerik Reporting version 4.0+
    .NET version 2.0+
    Visual Studio version VS2008+
    programming language C#
    To convert code

    Telerik online converter  


    PROJECT DESCRIPTION
    This code library shows you how to use Telerik Reporting Web Report Viewer with the ASP.NET MVC and Razor view engine. Since it is a standard ASP.NET server control which relies on the classic Web Forms behavior including page lifecycle, viewstate, postback mechanism, etc, we need to override VerifyRenderingInServerForm event handler.
    i.e.

     public override void VerifyRenderingInServerForm(Control control) 
            { 
                // to avoid the server form (<form runat="server">) requirement 
            } 

    For MVC 3 you can include partial view with the web report viewer in a MVC 3 page:

    @Html.Partial("ViewPageTelerikReport")

    Two projects are attached showing the functionality at hand covering MVC 2 and MVC 3 Razor view engine for VS2010. The usage of the viewer in MVC 4 RC is the same as with the MVC 3 project.

  • Vassil Petev Vassil Petev admin's avatar

    Posted on Apr 29, 2013 (permalink)

    Hi,

    We have anew blog post on using Telerik Reporting in ASP.NET MVC, which shows all the steps needed to do this, plus a video. Check it out.


    All the best,
    Vassil Petev
    the Telerik team

    Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

Back to Top

Skip Navigation LinksHome / Community & Support / Code Library / Telerik Reporting > General and Integration Projects > Using Telerik Web ReportViewer in ASP.NET MVC application