How to control report elements programmatic

Unanswered How to control report elements programmatic

  • Thursday, June 28, 2012 1:07 PM
     
     

    I am making report in report builder 3.0 in table matrix. Now requirement arise that they hide and unhide from Custom Dialog. Now requirement is such that column should shrink auto if all columns are there and columns should be expand if columns are less.

    How can I achieve this.  

All Replies

  • Thursday, June 28, 2012 2:44 PM
     
     

    If you want to hide a column you can do it by setting the hidden expression and a toggle button.

    Ex: you can make one column visible (from hidden) and another hidden (from visible) with one click on the toggle button. This can be done by setting the same toggle button for two columns and set different hidden value (one true and one false).

  • Thursday, June 28, 2012 3:29 PM
     
     
    This is not my problem. My problem is as for example I have there 7 columns and at time of report generating I select only 5 columns to visible than I need to adjust width of the columns propositional. 
  • Friday, June 29, 2012 6:00 AM
     
     
    You cannot set the size or location dynamically in SSRS using expression.
  • Friday, June 29, 2012 7:19 AM
     
     
    I am not telling to set the size or location by expression but i wanted to know by code-behind. It is possible