Page 1 of 1

Trouble rendering report with HTML tags

Posted: Thu Oct 27, 2011 7:59 am
by smart+
Hello,

I need urgent help .
I upgraded last version of Stimulsoft Reports.Web (2011.3.1105 from 21 October 2011) and
when I open some report with html tags this tags not rendered correctly :waaaht:.
In report I have Text component and inside is expression with html tags and I set "Allow Html Tags = true", but
this is not rendered correctly.
When I show report in Web preview or export in .pdf format, this text show only html tags.

Best regards,
Sasa

Trouble rendering report with HTML tags

Posted: Mon Oct 31, 2011 2:25 am
by Vladimir
Hello,

The error with HTML tags in Web Preview is fixed. For more accurate exported to PDF format, please use WebViewer or WebViewerFx.

Thank you.

Trouble rendering report with HTML tags

Posted: Mon Oct 31, 2011 3:24 am
by Andrew
Hello,

The error with HTML tags in Web Preview is fixed. For more accurate exporting to PDF format, please use WebViewer or WebViewerFx.

Thank you.

Trouble rendering report with HTML tags

Posted: Mon Oct 31, 2011 12:02 pm
by smart+
Andrew wrote:Hello,

The error with HTML tags in Web Preview is fixed. For more accurate exporting to PDF format, please use WebViewer or WebViewerFx.

Thank you.
Hi Andrew,

I downloaded latest version (Stimulsoft Reports.Web 2011.10.27) and copied in folder "C:\Program Files\Stimulsoft Reports.Web 2011.2\Bin"
and rendering html tags still not work very well in web preview.

I don't need and don't use WebViewer or WebViewerFx for exporting I use following code for exporting to .pdf:

Code: Select all

using (StiReport report = new StiReport())
{
	report.Load(HttpContext.Current.Server.MapPath("../Reports/Test.mrt"));

	report.Render(false);
                            
	StiOptions.Web.AllowUseResponseFlush = false;
        StiReportResponse.ResponseAsPdf(this.Page, report, true);
}
I am not tried exporting with above code yet, but I try export this report to .pdf from web preview in report designer and
all is same (html tags are not exported correctly).

Where I made mistake when I upgraded this latest version?

Please, I need urgent help with this problem.

Trouble rendering report with HTML tags

Posted: Tue Nov 01, 2011 2:00 am
by HighAley
Hello.
[quote="smart"+]I downloaded latest version (Stimulsoft Reports.Web 2011.10.27) and copied in folder "C:\Program Files\Stimulsoft Reports.Web 2011.2\Bin"
and rendering html tags still not work very well in web preview.

I don't need and don't use WebViewer or WebViewerFx for exporting I use following code for exporting to .pdf:

Code: Select all

using (StiReport report = new StiReport())
{
	report.Load(HttpContext.Current.Server.MapPath("../Reports/Test.mrt"));

	report.Render(false);
                            
	StiOptions.Web.AllowUseResponseFlush = false;
        StiReportResponse.ResponseAsPdf(this.Page, report, true);
}
I am not tried exporting with above code yet, but I try export this report to .pdf from web preview in report designer and
all is same (html tags are not exported correctly).

Where I made mistake when I upgraded this latest version?

Please, I need urgent help with this problem. [/quote]
Maybe you didn't update assemblies in GAC.
Here is an article from our knowledge base http://stimulsoft.helpserve.com/index.p ... rticleid=2

Thank you.

Trouble rendering report with HTML tags

Posted: Tue Nov 01, 2011 6:25 am
by smart+
Aleksey wrote:Hello.
[quote="smart"+]I downloaded latest version (Stimulsoft Reports.Web 2011.10.27) and copied in folder "C:\Program Files\Stimulsoft Reports.Web 2011.2\Bin"
and rendering html tags still not work very well in web preview.

I don't need and don't use WebViewer or WebViewerFx for exporting I use following code for exporting to .pdf:

Code: Select all

using (StiReport report = new StiReport())
{
	report.Load(HttpContext.Current.Server.MapPath("../Reports/Test.mrt"));

	report.Render(false);
                            
	StiOptions.Web.AllowUseResponseFlush = false;
        StiReportResponse.ResponseAsPdf(this.Page, report, true);
}
I am not tried exporting with above code yet, but I try export this report to .pdf from web preview in report designer and
all is same (html tags are not exported correctly).

Where I made mistake when I upgraded this latest version?

Please, I need urgent help with this problem.
Maybe you didn't update assemblies in GAC.
Here is an article from our knowledge base http://stimulsoft.helpserve.com/index.p ... rticleid=2

Thank you.[/quote]

I tried with above code and exporting to .pdf works very well.
I updated new assemblies in GAC, but web preview in report designer still not render correctly html tags.


Trouble rendering report with HTML tags

Posted: Wed Nov 02, 2011 12:55 am
by Alex K.
Hello,

Solution will be available on next prerelease build on next week.

Thank you.