Connecting Tech Pros Worldwide Help | Site Map

Implementing CSS in Crystal Reports 10

  #1  
Old September 28th, 2006, 06:29 AM
Newbie
 
Join Date: Sep 2006
Posts: 1
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
  #2  
Old October 26th, 2006, 10:09 AM
Newbie
 
Join Date: Oct 2006
Posts: 1

re: Implementing CSS in Crystal Reports 10


Hi Buddy,

Have you got the solution? Please let me know if you got.
  #3  
Old May 10th, 2007, 09:05 AM
Newbie
 
Join Date: May 2007
Posts: 1

re: Implementing CSS in Crystal Reports 10


I also want to know the solution if u have got the solution plz tell me.
  #4  
Old May 23rd, 2007, 11:36 AM
Newbie
 
Join Date: May 2007
Location: India
Posts: 1

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
  #5  
Old May 23rd, 2007, 03:39 PM
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,521

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.
  #6  
Old September 25th, 2008, 06:12 AM
Newbie
 
Join Date: Sep 2008
Posts: 1

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>
  #7  
Old May 8th, 2009, 12:42 PM
Newbie
 
Join Date: May 2009
Posts: 1

re: Implementing CSS in Crystal Reports 10


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Object test = new Object() <-- Java, best way in C++ DrUg13 answers 11 July 22nd, 2005 07:06 AM