I have a web-based application in visual studio 2010. I have a site.master and several nested master pages all with navigation menus.
I've created a dashboard report in Crystal 11.5 and have added it to my application. When I add the crystalreportviewer control to the page the navigation menus disappear.
Home | Call Logs| Adminstration | Reports //all missing after this is loaded.
default.aspx code
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
CodeBehind="Default.aspx.cs" Inherits="ANCCallCenter._Default" %>
<%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
Welcome Message
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
AutoDataBind="True" GroupTreeImagesFolderUrl="" Height="626px"
ReportSourceID="CrystalReportSource1" ToolbarImagesFolderUrl=""
ToolPanelWidth="200px" Width="912px" />
<CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
<Report FileName="Reports\Dashboard\CallProcessingDashboard.rpt">
</Report>
</CR:CrystalReportSource>
</asp:Content>
If I remove the <%@ Register assembly line, then the menus re-appear but of course the control is rendered useless. I've tried adding
using CrystalDecisions.Web;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
to the cs file and adding CrystalReportViewer1.ReportSource = "CallProcessingDashboard.rpt"; in the load.
Has anyone ran across this issue? If so, were you able to resolve it?