Connecting Tech Pros Worldwide Help | Site Map

Implementing CSS in Crystal Reports 10

 
LinkBack Thread Tools Search this Thread
  #1  
Old September 28th, 2006, 05:29 AM
Newbie
 
Join Date: Sep 2006
Posts: 1
Default Implementing CSS in Crystal Reports 10

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
Reply
  #2  
Old October 26th, 2006, 09:09 AM
Newbie
 
Join Date: Oct 2006
Posts: 1
Default

Hi Buddy,

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

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

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

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

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>
Reply
  #7  
Old May 8th, 2009, 11:42 AM
Newbie
 
Join Date: May 2009
Posts: 1
Default

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

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.