Connecting Tech Pros Worldwide Forums | Help | Site Map

Implementing CSS in Crystal Reports 10

Newbie
 
Join Date: Sep 2006
Posts: 1
#1: Sep 28 '06
Hi All,

We have more than 50 Crystal Reports (Implemented) in our project.

Please let us know how to implement Cascading Style Sheet to Text Objects and Line Objects in Crystal Reports and also it needs to be reflect in PDF while exporting.

We got output through .Net Code Behind file by implementing System.Drawings.Color to Report Objects. But Client is not willing for System.Drawings.Color and also Change in existing Code Behind files.

We are able to apply CSS to Report objects as mentioned in attachment, but its reflecting only in report not in PDF while exporting.

Please let us know if you have any suggestions.

Thanks in Advance

Thanks & Regards
Satya Prasad

Newbie
 
Join Date: Oct 2006
Posts: 1
#2: Oct 26 '06

re: Implementing CSS in Crystal Reports 10


Hi Buddy,

Have you got the solution? Please let me know if you got.
Newbie
 
Join Date: May 2007
Posts: 1
#3: May 10 '07

re: Implementing CSS in Crystal Reports 10


I also want to know the solution if u have got the solution plz tell me.
Newbie
 
Join Date: May 2007
Location: India
Posts: 1
#4: May 23 '07

re: Implementing CSS in Crystal Reports 10


I also have the same problem.

i just want to know how to write the css for crystal report 11 release 2.
Pease help us out?

Thanks
Neo
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,566
#5: May 23 '07

re: Implementing CSS in Crystal Reports 10


I don't know anything about Crystal Reports so I googled for it. Apparently it's capable of generating XML files? If so, CSS can style them just like it styles HTML but I'm wondering if XSL may be more appropriate.
Newbie
 
Join Date: Sep 2008
Posts: 1
#6: Sep 25 '08

re: Implementing CSS in Crystal Reports 10


To format reports using HTML class values

Right-click in the embedded Crystal Reports Designer and select Set CSS Class.
In the Object Scope field, select the objects or sections you would like the class to be applied to.
Enter the name of the class in the CSS Class Name field.
Tip Use CssClass in the Properties window to view, edit, or delete the class values for a specific report object or section.
Click OK.
Save the report.
In the web application file, reference an external style sheet that has the class already defined, or enter the class value.
For example:

<HTML>
<STYLE>
.classname
{
background-color:808080; border-color:000000; color:000000; font-family:Arial; font-weight:bold; font-style:italic; }
<STYLE>
</HTML>
Newbie
 
Join Date: May 2009
Posts: 1
#7: May 8 '09

re: Implementing CSS in Crystal Reports 10


Can anyone help me to solve this problem?
Its urgent.
Thanx in advance.
Reply


Similar HTML / CSS bytes