Search code examples
.nettextboxms-reports

Hide TextBox of MS Report


I use the same MS Report for different code so sometimes some of parameters that are inside of the report and pointed to TextBox (i.e. [@CustomerGroup]) and they are empty.

So I would like to hide that TextBox completely. I know that I can pass string.Empty but I need to hide entire title or in other words a TextBox.

Is it possible to do?


Solution

  • What I found tha is working but a little bit ugly approach.

    In code you have to do

     parameterValues.Add(" "); 
    

    And in MS Report Designer

    enter image description here