RS Howto: TextBox.Hidden = True When TextBox.Value = ""?

P

Pieter

Hi,

Is there a way to link the Hidden-property of a Textbox on a Reporting
Services Report to it's Value?

When the Value is empty (""), then I want the TextBox be Hidden. In case you
don't ide the Textbox, there is still white space taken.

Now I have to check in every Hidden-property of the Value of my datasource
is empty or not, but I woudl like to have some general expression that I can
copy paste to every Textbox...

Does anybody knows how to do this?

Thanks a lot in advance, any help will be really appreciated...

Pieter
 
L

lord.zoltar

Pieter said:
Hi,

Is there a way to link the Hidden-property of a Textbox on a Reporting
Services Report to it's Value?

When the Value is empty (""), then I want the TextBox be Hidden. In case you
don't ide the Textbox, there is still white space taken.

Now I have to check in every Hidden-property of the Value of my datasource
is empty or not, but I woudl like to have some general expression that I can
copy paste to every Textbox...

Does anybody knows how to do this?

Thanks a lot in advance, any help will be really appreciated...

Pieter

Hmmm... you could try adding an event handler for when the text
changes. In that handler, check to see if the text in the text box is
"". Then do your hiding if necessary.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top