I have an problem with Firefox, help me, please!!!
When I use Firefox to view StiReport, StiWebViewerFx shows nothing, no loading, no connecting,... doesn't have anything. However, it've done very well with Chrome. In the IE, the height of the report was collapsed (picture).
Does anyone has the same problem like this?
In Chrome: (OK, very pretty!!!)
In IE:
In Firefox:
I use Windows 8.1, Visual Studio 2013 update 2, MS Sql Server 2012 sp1 and Stimulsoft 2013.1.1505.
I run project via VS2013 and when I tested with IIS on Windows 8.1, there was the same problem.
My code in .aspx file
<form id="form1" runat="server">
<div>
<cc1:StiWebViewerFx ID="StiWebViewerFx1" runat="server" ShowExportToBmp="False" ShowExportToCsv="False" ShowParametersButton="False" ShowBookmarksButton="False" ShowExportToDbf="False" ShowExportToDif="False" ShowExportToDocument="False" ShowExportToExcelXml="False" ShowExportToGif="False" ShowExportToHtml="False" ShowExportToJpeg="False" ShowExportToMetafile="False" ShowExportToMht="False" ShowExportToOds="False" ShowExportToOdt="False" ShowExportToPcx="False" ShowExportToPng="False" ShowExportToSvg="False" ShowExportToSvgz="False" ShowExportToSylk="False" ShowExportToText="False" ShowExportToTiff="False" ShowExportToXml="False" ToolbarAlignment="Center" ShowPrintButton="True" ZoomPercent="75" ViewMode="WholeReport" Width="100%" Height="100%"/>
</div>
</form>
In code behind:
StiReport report = new StiReport();
report.Load(Server.MapPath("Report.mrt"));
report.RegData(dt);
report.Compile();
report.Dictionary.Synchronize();
StiWebViewerFx1.Report = report;
Help me, please.
Thank!
[StiWebViewerFx] Problems with Firefox
Re: [StiWebViewerFx] Problems with Firefox
Hello,
Please specify the height of the viewer in pixels, for example Height="600px".
If you want to set the height to 100%, it is necessary to set the height to 100% for all the containers where the viewer is placed: DIV, FORM, BODY, HTML.
Thank you.
Please specify the height of the viewer in pixels, for example Height="600px".
If you want to set the height to 100%, it is necessary to set the height to 100% for all the containers where the viewer is placed: DIV, FORM, BODY, HTML.
Thank you.
Re: [StiWebViewerFx] Problems with Firefox
Hi,Vladimir wrote:Hello,
Please specify the height of the viewer in pixels, for example Height="600px".
If you want to set the height to 100%, it is necessary to set the height to 100% for all the containers where the viewer is placed: DIV, FORM, BODY, HTML.
Thank you.
I changed the following code:
StiWebViewerFx1.Report = report;
to
StiWebViewerFx1.view(report);
This resolved my all above problems. Don't need to specify width and height of the viewer any more.
Thank you so much!
Re: [StiWebViewerFx] Problems with Firefox
Hello,
We are always glad to help you!
Thank you.
We are always glad to help you!
Thank you.