I need to change the visibility of the image in my report. For this I use an expression. By default, I want it to be set to true, and when I print, I set the parameter to false so that the image does not display. The problem is that the image never appears.
=CBool(Parameters!ShowImage.Value)
C # (parameter that I send when creating a report)
p[27] = new ReportParameter("ShowImage", "True");
this.reportViewer1.LocalReport.SetParameters(p);
Thanks in advance
source
share