Page 1 of 2
Issues on Viewer.Fx
Posted: Tue Jan 03, 2012 8:35 pm
by jkoo
Hello,
I had some issues on web viewer.fx.
1. When the report is saved as a MHT web Archive, I got thf following exception.
•Error: Input string was not in a correct format.
2. Is there any option to disable the export button for MHT?
3."Print to HTML"(Viewer=>Print=>Select 'Print to HTML'=> OK) is doing nothing. Is it a bug?
Thanks
Issues on Viewer.Fx
Posted: Wed Jan 04, 2012 7:38 am
by HighAley
jkoo wrote:I had some issues on web viewer.fx.
1. When the report is saved as a MHT web Archive, I got thf following exception.
•Error: Input string was not in a correct format.
Please, send us a report file (mdc-file) for analysis.
jkoo wrote:2. Is there any option to disable the export button for MHT?
Please, try to use next option:
Code: Select all
WebViewerFx1.ShowExportToMht = false;
or on ASPX-page
Code: Select all
cc1:StiWebViewerFx ID="StiWebViewerFx1" runat="server" ShowExportToMht="False"
jkoo wrote:3."Print to HTML"(Viewer=>Print=>Select 'Print to HTML'=> OK) is doing nothing. Is it a bug?
Does HTML export work right?
Thank you.
Issues on Viewer.Fx
Posted: Wed Jan 04, 2012 2:48 pm
by jkoo
1. Please refer to the attached mdc file
2. It works. Thanks
3. HTML works fine.
Issues on Viewer.Fx
Posted: Fri Jan 06, 2012 7:11 am
by Vladimir
Hello,
1., 3.
The errors have been fixed, the update will be available in the prerelease build next week.
Thank you.
Issues on Viewer.Fx
Posted: Wed Mar 21, 2012 4:54 pm
by jkoo
I tried export/save features at 2012.3.9 pre-release version again.
and had some issues.
1. "Print to HTML"(Viewer=>Print=>Select 'Print to HTML'=> OK) shows just normal print dialog.
There is no difference between "Default" and :Print to HTML" on print dialog.
Is it by design?
2. Save button (for PDF, HTML and whatevere) didn't work at both webviewer fx and preview on web report designer.
With 2011.3.1200.0(11/30/2011) build, if I clicked "Save" button for PDF or Html, it displays "File Download dialog" properly.
But at 2013.3.9 build(2012.1.1216.0), I cannot export files due to the error (see the attached screenshot).
Issues on Viewer.Fx
Posted: Fri Mar 23, 2012 3:30 am
by HighAley
Hello.
jkoo wrote:I tried export/save features at 2012.3.9 pre-release version again.
and had some issues.
1. "Print to HTML"(Viewer=>Print=>Select 'Print to HTML'=> OK) shows just normal print dialog.
There is no difference between "Default" and :Print to HTML" on print dialog.
Is it by design?
In the Default mode the printing does with images. It give us exact placing of the elements on the page, but it have lager amount of data sending to printer.
In the HTML mode report sends to printer as HTML text. It give us vector printing small amount of data in the print queue. But there could be a problem with text and other components location due browser rendering.
jkoo wrote:2. Save button (for PDF, HTML and whatevere) didn't work at both webviewer fx and preview on web report designer.
With 2011.3.1200.0(11/30/2011) build, if I clicked "Save" button for PDF or Html, it displays "File Download dialog" properly.
But at 2013.3.9 build(2012.1.1216.0), I cannot export files due to the error (see the attached screenshot).
We couldn't reproduce the error. Could you send us some additional information:
- Is there any error om the local machine or on the server only? Which version of the server OS?
- What OS and browser on the client machine? Please, try to use other browser.
- Which viewer parameters do you set? Send us aspx and cs files of the page with Viewer.
- Send us a report (mdc-file) on which we could reproduce the issue.
Thank you.
Issues on Viewer.Fx
Posted: Fri Apr 06, 2012 12:45 pm
by jkoo
Finally I found why it happens.
Our golbal.asax.cs has the following code
protected void Application_PostAuthenticateRequest(object sender, EventArgs e)
{
Response.Cache.SetExpires(DateTime.Now.AddDays(-1));
Response.Cache.SetCacheability(HttpCacheability.NoCache);
}
If I remove the above cache setting, save buttons works fine.
Anyway this cache setting works fine with old stimulate version(ie, 2011.3).
Why it doesn't work with the latest (2012.3.9 )?
Thanks
Issues on Viewer.Fx
Posted: Mon Apr 09, 2012 9:32 am
by Vladimir
Hello,
Please check the official release 2012.1, there are some changes in this direction.
Thank you.
Issues on Viewer.Fx
Posted: Mon Apr 09, 2012 12:54 pm
by jkoo
I already tried 2012.1. It had still this issue.
Thanks
Issues on Viewer.Fx
Posted: Thu Apr 12, 2012 4:24 am
by Vladimir
Hello,
We check the code changes made since the release of 2011.3. Could you please check if the error appears on the AJAX WebViewer with RenderMode="AjaxWithCache" ?
Thank you.