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

Kendo UI tab strip for MVC does not display SSRS report data

1 Answer 88 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Ravali
Top achievements
Rank 1
Ravali asked on 12 May 2016, 05:55 PM

I am trying to embed an SSRS report inside a kendo tabstrip in an MVC 5 application. The report shows up but, it does not show any data after submitting the parameters. Here is my code: 

     @(Html.Kendo().TabStrip()
  .Name("tabstrip")
  .Animation(animation =>
      animation.Open(effect =>
          effect.Fade(FadeDirection.In)))
  .Items(tabstrip =>
  {
  tabstrip.Add().Text("Report Data")
          .Selected(true)
          .Content(@Html.Partial("HomeIntegrityReport").ToHtmlString());

  tabstrip.Add().Text("Graphical Data")
            .Content(@<text>
                <div class="weather">
                    
                </div>
                </text>);
      })
        )

Here is the Home Intergrity Report code: 

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HomeIntegrityReport.aspx.cs" Inherits="NFO.Ontrac.Areas.PerformanceReports.Views.PeformanceReportsSSRS.HomeIntegrityReport" EnableEventValidation="false"%>
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<!DOCTYPE html>
 
<html>
<head runat="server">
    <title></title>
</head>
<body>
        <form id="Form1" runat="server" >
        <asp:ScriptManager runat="server"></asp:ScriptManager>
            <div>
        <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Cambria"
            Font-Size="8pt" Height="700px" ProcessingMode="Remote" Width="1160px" 
                                ShowPageNavigationControls="True" AsyncRendering="false">
            <ServerReport ReportPath="/Ontrac/CPE HHC Summary" 
                ReportServerUrl="reportServer/ReportServer/" />
        </rsweb:ReportViewer>
                </div>
        </form>

</body>
</html>

Please let me know if additional information is needed.

 

Thanks

Ravali

 

 

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 16 May 2016, 02:49 PM
Hi Ravali,

You could try the following approach for loading the Content of the TabStrip:
On a side note, can you please elaborate if placing the ReportViewer outside the TabStrip works? 


Regards,
Konstantin Dikov
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
TabStrip
Asked by
Ravali
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or