Trouble rendering report with HTML tags

Stimulsoft Reports.WEB discussion
Post Reply
smart+
Posts: 26
Joined: Thu Sep 09, 2010 4:53 pm
Location: Croatia

Trouble rendering report with HTML tags

Post 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
Attachments
1390.Test.mrt
(6.99 KiB) Downloaded 627 times
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Trouble rendering report with HTML tags

Post 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.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Trouble rendering report with HTML tags

Post 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.
smart+
Posts: 26
Joined: Thu Sep 09, 2010 4:53 pm
Location: Croatia

Trouble rendering report with HTML tags

Post 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.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Trouble rendering report with HTML tags

Post 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.
smart+
Posts: 26
Joined: Thu Sep 09, 2010 4:53 pm
Location: Croatia

Trouble rendering report with HTML tags

Post 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.

Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Trouble rendering report with HTML tags

Post by Alex K. »

Hello,

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

Thank you.
Post Reply