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

Cannot Import Previously Exported ExternalStyleSheets In WinFormsReporting Application (Styles Not Applied)

1 Answer 97 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
jgill
Top achievements
Rank 1
jgill asked on 09 Dec 2008, 10:07 PM

I am having trouble using an exported StyleSheet in from Telerik Reporting in a WinForms application.  I created a report using the wizard that utilized one of the standard styles.  Then I customized the styled to match a theme and exported the style for reuse.  I created all the reports I needed, now I am having trouble importing the exported style and have it applied to the existing reports (I used the same StyleNames for the selectors as I used the same default theme each time, with the assumption I would be able to apply the custom stylesheet later).

 

·          I clicked on StyleSheet (there were 4 StyleRules defined)

·          Selected the 4 styles then clicked export to save the .xml file

·          Then I imported the .xml file as an Existing Item to the project and changed the Build Action to “Embedded Resource” and Copy To Output Directory to “Copy Always”

·          When I add the External Stylesheet to the report object as a relative object none of the styles are being inherited by the rendered reports.

 

 

Is there something I’m missing?

 

I used http://www.telerik.com/help/reporting/styleexportingandreusingstylesheets.html as a reference.

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 10 Dec 2008, 02:47 PM
Hello jgill,

Can you please send us a project that demonstrates the behavior that you are describing. This will help us figure out what is going on.

Kind regards,
Ross
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
jgill
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or