Hi,
I am trying to use the WebDataMenu (11.1, i have also intalled the service release to see if this fixes the problem 11.1.20111.2064) with the crystalreportsviewer 13.0.2000 with not much success (VS.NET2010/VB).
basically if i have the webdatamenu after the crystalreportsviewer section both display correctly, but having the menu above the crystalreportsviewer (where i actually want it) causes the crystalreportsviewer to not display anything.
I have tested this on IE8,IE9,Firefox 7, this problem also applies to other infragistics controols such as webexplorerbar, webdatatree.
I can recreate this issue in a sample project as follows, this causes the report to not show, but moving the code for the datamenu after the reportviewer is ok.
<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="WebForm1.aspx.vb" Inherits="WebApplication1.WebForm1" %><%@ Register assembly="Infragistics4.Web.v11.1, Version=11.1.20111.2064, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI.NavigationControls" tagprefix="ig" %><%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %><%@ Register assembly="Infragistics4.Web.v11.1, Version=11.1.20111.2064, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI" tagprefix="ig" %><asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server"></asp:Content><asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> <ig:WebDataMenu ID="WebDataMenu1" runat="server"> <Items> <ig:DataMenuItem Text="Root Item"> </ig:DataMenuItem> </Items> </ig:WebDataMenu> <ig:WebScriptManager ID="WebScriptManager1" runat="server"> </ig:WebScriptManager> <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true" ReportSourceID="CrystalReportSource1" /> <CR:CrystalReportSource ID="CrystalReportSource1" runat="server"> <Report FileName="CrystalReport1.rpt"> </Report> </CR:CrystalReportSource></asp:Content>
site.master is just the default created and the report is just a blank one for testing purposes.
Any help would be appreciated.
Thanks,
Bob
Hello flogan,
This is just a follow up on the thread if you have any questions in regards to the provided sample attachment. You can add an iframe that will allow the WebDataMenu control to run on this specific setup of the web page.
Let me know if you have any questions with this matter. Thank you.
Can you help anymore with the response please?
Thanks
We are currently looking into this issue with one of our developers in the following thread. Please feel free to contribute any information you may have here:
http://community.infragistics.com/forums/t/64659.aspx
If you have any other questions or concerns please let me know.
Hi,I encountered the same problem.After two hours of investigation I would like to provide some details and I hope Infragistics' experts can explain why it happens and how we can solve or workaround this problem.CR(Crystal Reports) renders script inside div that build the report (dynamically creates html).
The piece of page related to CR without WebDataTree on the page looks as following: div id="ctl00_Content_reportViewer" script type="text/javascript" <!-- bobj.crv.writeWidget( ...
But when WebDataTree is present on the page it looks as following: div id="ctl00_Content_reportViewer" script type="text/javascript" <!-- bobj.crv.writeWidget( ...
That explains why the report is not built (because script is not even launched)
The question is why Infragistics's controls do this needless work? optimization by removing line carriages?
Please help?