I have a report that includes a row/col table of data + a couple charts. I bind the data to the report via an ObjectDataSource.
The problem I'm facing is that some of the data needs to be HtmlEncoded prior to display in the ReportViewer but should not be encoded when exported to PDF/XLS/etc. How do I go about doing this? Is there something passed to the ObjectDataSource that will allow me to know what the target is for the returned data?
The problem I'm facing is that some of the data needs to be HtmlEncoded prior to display in the ReportViewer but should not be encoded when exported to PDF/XLS/etc. How do I go about doing this? Is there something passed to the ObjectDataSource that will allow me to know what the target is for the returned data?