Sunday, February 19, 2012

How to hide textboxes in PDFs but not in HTML?

Is there a way to hide textboxes (or any element) when the report is in non-HTML view?

The reason for this is that I have several drill-through features that the users fail to see, so I thought I'd put some help texts in the report ("click skill title to show skill report"). This help texts are totally meaningless on a PDF or in Excel though, and I'd like to get rid of them there. Any ideas?

There is no way to do automatically.

One idea would be to use a parameter such a View having options for target output mode e.g. HTML, PDF, Excel etc. and then have conditional logic in your report to show/hide elements based on the target output.

It's not automatic, but it's an option.

No comments:

Post a Comment