This is a migrated thread and some comments may be shown as answers.

CSS code of Reporting Frame

4 Answers 163 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ricardo Cardoso
Top achievements
Rank 1
Ricardo Cardoso asked on 21 Nov 2007, 12:41 PM
How can I overwrite the style of reporting frame with a CSS code already written down on a Web Project?

4 Answers, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 22 Nov 2007, 09:54 AM
Hello Ricardo,

In order to help you better with this request we would like to understand exactly which attributes you would like to set and how you want to change the appearance. Can you elaborate a bit more on this topic?

Thank you in advance.

Kind regards,
Chavdar
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Ricardo Cardoso
Top achievements
Rank 1
answered on 22 Nov 2007, 11:04 AM
Hello Chavdar!

I use Telerik Reporting with ASP.NET.
The HTML code generated at Report uses CSS classes to implement the style defined into the C# code, but I want to use CSS classes already writings to define color, background, font and size of report objects.

Better?
0
Chavdar
Telerik team
answered on 22 Nov 2007, 03:49 PM
Hello Ricardo,

Although, the report styling is similar to the html cascading style sheets styling, you cannot use directly html .css files.
Instead, the styles are defined in a Reporting style sheet by using  StyleRules. A style rule represents a style definition with selectors which specify when a specific style should be applied. The created style rules collection can be afterwards exported to an xml file and later re-used in other reports.

More detailed information regarding the reporting styles you can find in the Telerik Reporting documentation under the Styling Reports help topic.

Hope this helps. Let me know if you need any other specific information.
Thank you.

Greetings,
Chavdar
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Ricardo Cardoso
Top achievements
Rank 1
answered on 22 Nov 2007, 04:26 PM
Thanks Chavdar!
This helps enough.
Tags
General Discussions
Asked by
Ricardo Cardoso
Top achievements
Rank 1
Answers by
Chavdar
Telerik team
Ricardo Cardoso
Top achievements
Rank 1
Share this question
or