
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
0
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
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?
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
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
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.
This helps enough.