cancel
Showing results for 
Search instead for 
Did you mean: 

Html+crystal report

Former Member
0 Kudos

Hi, I use Crystal report with Visual Studio 2008. I use an Ajax HtmlEditor and i want to make a report with the html.

I have a Underline and Colored Text, on my aspx page and of the report I have the text but nothing else(not colored and not underlined), I have checked the htmlWriter option of the object in my Crystal Report Object, but it doesn't work.

Can someone help me to resolve this problem.

Thanks

Accepted Solutions (0)

Answers (5)

Answers (5)

0 Kudos

Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum

or purchase a case and have a dedicated support engineer work with your directly

Former Member
0 Kudos

Maybe but it doesn't work. Any Idea?

Former Member
0 Kudos

No haven't understand.

The final Output must be a PDF file !!!

I use a RichTextBox with Ajax in my aspx Page and here the user can make what he wants. I just need to recup this text to a crystal report that means in html but it doesn't work.

I think it's a interpretor error i.e. the <br /> isn't understood by Crystal report but <br> is understood.

Former Member
0 Kudos

>

> No haven't understand.

> The final Output must be a PDF file !!!

>

> I use a RichTextBox with Ajax in my aspx Page and here the user can make what he wants. I just need to recup this text to a crystal report that means in html but it doesn't work.

> I think it's a interpretor error i.e. the <br /> isn't understood by Crystal report but <br> is understood.

It should work fine even if you are exporting to pdf too. I dont have much idea on how the flow works between aspx page and interpretor and crystal reports.

Former Member
0 Kudos

Yes, when I export the HTML isn't.

The original in my aspx page is.

Grand toto

petit YRU that in forecolor red and background yellow

that's the result when html isn't check in the option.

<span style="font-weight: bold; text-decoration: underline">Grand</span> toto<br />

<br />

<span style="color: #ff0000; background-color: #ffff00">petit YRU</span>

When it's check

Grand toto

petit YRU.

Can you help me

Former Member
0 Kudos

Right click on the field which you want to provide colors in the report. Click on Format Text opens Format Editor. Navigate to Border Tab and check the Background checkbox and select Yellow color. Again Navigate to Font Tab and select Red color which is placed next to label named Color. Click Ok button. Now export the report to html. You will get the desired output.

Pls revert back for any clarifications.

Former Member
0 Kudos

You mean to say that you are exporting the report to HTML and could not find the field formatted properly like underlined and coloured etc., ?