Sunday, March 11, 2012

Cannot view actual report

Hi,

I am using the reportviewer control the following way

<%@. Page Language="C#" AutoEventWireup="true" CodeFile="RenderReport.aspx.cs" Inherits="pages_RenderReport" Title="View Report"%>

<%@. Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<html runat="server">

<head runat=server></head>

<body>

<form runat=server>

<table width="100%" cellpadding=0 cellspacing=0 border=0>

<tr>

<td valign="top" id="report" width="100%" style="height: 104%">

<rsweb:ReportViewer ID="reportViewer" runat="server" Width=100% SizeToReportContent=false BorderWidth="1pt" ExportContentDisposition="AlwaysInline" AsyncRendering="False" Height="600px" Font-Size=Small ShowParameterPrompts=true ShowPageNavigationControls=true ProcessingMode="Remote">

</rsweb:ReportViewer>

</td>

</tr>

</table>

</form>

</body>

</html>

I cannot see the report at all?..All i see is the parameters area.

thanks.

It doesn't appear that you specified a report to render. The Report Viewer control won't render anything unless it's given a report.

-Albert

|||

Actually i had set the report in the code. I should have included that code in this forum. I however figured out the problem.

Thanks.

No comments:

Post a Comment