Hi,
I'm using Reporting v Q3 2010. I have a solution which contains a web project and a separate projectect for my Telerik reports. So when I deploy my site, the Telerik reports are built in to a dll that sits in my site's /bin folder. This is fine, and all works very well, except that one of my reports uses an external stylesheet which is not being picked up when I run the report in the production environment.
I've tried the three methods of referencing the external stylesheet from this report, but only the absolute method works, and I can't really use that in a production environment. If I use 'Relative' mode, it seems to be expecting to find the stylesheet xml file in a path relative to the root of the Reports project I created. But of course I'm not deploying the project, just the dll created from it. Similarly, using the 'Resource' mode, it seems to be expecting to find the xml file in a Resources folder within the Reports project, not the website.
I've tried placing the xml file in just about every location I can think of (even creating a folder structure in my website to reflect the one in my development environment), and switching between Relative and Resource modes when adding the style sheet to my report. But nothing works, and the report is always rendered without the styles from the stylesheet. All of the documentation I can find on this site seems to expect that my reports are part of the same project as the website itself, but that's not my scenario.
Please can someone explain how to reference an external stylesheet from a report when that report will be built into a dll and deployed in a website's /bin folder.
Thanks!
I'm using Reporting v Q3 2010. I have a solution which contains a web project and a separate projectect for my Telerik reports. So when I deploy my site, the Telerik reports are built in to a dll that sits in my site's /bin folder. This is fine, and all works very well, except that one of my reports uses an external stylesheet which is not being picked up when I run the report in the production environment.
I've tried the three methods of referencing the external stylesheet from this report, but only the absolute method works, and I can't really use that in a production environment. If I use 'Relative' mode, it seems to be expecting to find the stylesheet xml file in a path relative to the root of the Reports project I created. But of course I'm not deploying the project, just the dll created from it. Similarly, using the 'Resource' mode, it seems to be expecting to find the xml file in a Resources folder within the Reports project, not the website.
I've tried placing the xml file in just about every location I can think of (even creating a folder structure in my website to reflect the one in my development environment), and switching between Relative and Resource modes when adding the style sheet to my report. But nothing works, and the report is always rendered without the styles from the stylesheet. All of the documentation I can find on this site seems to expect that my reports are part of the same project as the website itself, but that's not my scenario.
Please can someone explain how to reference an external stylesheet from a report when that report will be built into a dll and deployed in a website's /bin folder.
Thanks!