Hi
I've created a simple report with the standalone designer and using a ReportViewer on a webpage, I'm able to view the report in the browser. Additionally, I've created an external assembly and I'm able to source data from it using an object data source (works fine in the browser too).
The problem comes in when I try to use a static method in the external assembly. I can see it and works fine in the standalone designer but I get the following error in the web page:
An error has occurred while processing TextBox 'textBox32': The expression contains object 'ReportDataSource' that is not defined in the current context.
The text box has the expression:
= ReportDataSource.MyReports.FormatCurrency(Fields.Currency, Fields.Amount, 2)
I've been through the article http://www.telerik.com/support/kb/reporting/report-designer/details/deploying-trdx-(xml-report-definition)-that-uses-external-assembly and made the recommended config changes in the web.config file but I still get the error. It appears this article is specific to desktop and not web applications.
How do I get my method visible in a web environment?
Thanks