I have one textbox in SSRS report which I need to hide on export. I added expression for Hidden
property to =IIF(Globals!RenderFormat.Name <> "RPL", True, False)
. but it always hiding textbox in ReportViewer as well as any type of export file.
Currently I have temporary fixed using = IIF(Globals!RenderFormat.IsInteractive OrElse Globals!RenderFormat.Name = "MHTML", False, True)
but wondering Why the first expression not working?
and what is the solution for it?
Edit: Globals!RenderFormat.IsInteractive
working. Globals!RenderFormat.Name = "MHTML" is not working so main statement stricked out in original post.