How to Apply CSS to Report

Want to Apply the CSS to Crystal Report Object in VS.NET2005
kamrangillAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

herald_thomasCommented:
You should have the appropriate Crystal Reports assemblies installed. Other than that, you should make sure that you have the framework installed correctly (including any supporting libraries, like MDAC),  as well as setting the security permissions.

There is a document in the crystal report support site that explain in detail what you have to do to deploy an application that use Crystal Report, the document name is crnet_deployment.pdf

I think that you will need to create a deployment package for this any way, just to install the crystal assemblies in the target machine, One idea that I can think of is try to detect from your application if the running machine had run before the deployment, if not execute it. This allow you to install it "on demand"

As far as I know the there are CR libraries that are not installed with the .NET framework on a computer. So trying to run an application that uses CR, developed in VS.NET, on a computer that never had VS.NET installed but only the framework will not work. The sollution was to installl VS.NET on that computer.

Crystal Reports for Visual Studio .NET has been recognized year after year as the Visual Studio Magazine readers choice for best product in the "Data Reporting and Analysis Tools" category. It provides developers with a fast and productive way to create and integrate presentation-quality reports into applications, without leaving the familiar Visual Studio development environment.

This special edition of Crystal Reports, which is included out of the box with Visual Studio 2005 (NEW!) and 2003, enables developers to create interactive reports for enterprise web and smart client applications that scale to meet the demands of end users.

Upgrade from Crystal Reports for Visual Studio 2005, 2003 or 2002 to Crystal Reports XI for even more report creation, integration, and deployment options.

Crystal Reports Server XI, is a feature-rich upgrade from the bundled Crystal Reports for .NET technology that’s included in your Visual Studio .NET, C#Builder or Delphi .NET development environment. They take reporting applications to the next level.
0
kamrangillAuthor Commented:
Let me clear my Question .i ve made reports in VS.Net Now i want  to Apply CSS to Single or All the Reports. Inmy App i want to give the user the Power to Formate there Reports(Fonts etc. Is there any method Or propert Which Allow me to Apply CSS to my reports
0
mlmccCommented:
Are you wanting the users to be able to build their own reports?

CSS is for web pages.  I don't think there is a way to apply a CSS to a report unless you export it to html.

mlmcc
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

kamrangillAuthor Commented:
Yes but For Desktop Application. from the Application the User will Set Fornt color Siz etc which will be change in CSS Now i want apply it to All Report .If We can Access Properties of Report by making it Object. Why Cann't Apply CSS to Report.  
0
mlmccCommented:
Are you using the version that comes with VS or a standalone version of Crystal?

According to this article you can apply a CSS if you have  a standalone version of Crystal but not if you use the Crystal with VS.
http://support.businessobjects.com/library/kbase/articles/c2014921.asp

mlmcc
0
kamrangillAuthor Commented:
Thats wat  i Already know. i Was Wondering If there Is another way to Work Around If i im Using Emmbed Version.
0
mlmccCommented:
As far as I know, no.

Crystal developeed the .Net version to provide an avenue to new users.  They purposely left features out to encourage them to buy the stand-alone version.

mlmcc
0
kamrangillAuthor Commented:
ok fine But if i Apply the CSS  on Reports using  Crystal Report 10 and later I modify this File In C# Will it a effect on the reports
0
mlmccCommented:
According to the article it will for stand-alone version reports.

mlmcc
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.