SSRS 2008 R2 - Check if another item (text box, rectangle, etc.) is hidden
I would like to be able to check if another item on the report is hidden. For example, I would like to set the Hidden Expression to hide TEXTBOX1 if TEXTBOX2 is not hidden. Is this possible?
May 12th, 2011 10:06am

Hi Travis, This would not be possible directly, as in you wouln't be able to access the Visibility property of TextBox2 in some expression as ReportItems!TextBox2.Visibility - not possible. Instead what you would have to do would be to check for the same condition being used to hide or show TextBox2. Let's say TextBox2 would be hidden if Some_Expression = False. You would use the same expression to show TextBox1, when Some_Expression = True. Hope this helps. Please mark correct answers :)
Free Windows Admin Tool Kit Click here and download it now
May 12th, 2011 10:41am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics