Dynamic Report controls

mkpjsr
mkpjsr Member Posts: 587
hi experts
How to show or hide controls into the report dynamically. Is there any method please guide me.

Comments

  • geordie
    geordie Member Posts: 655
    With classic client you need to design two different sections, one containing the controls and one not, to be show alternatively using CurrReport.SHOWOUTPUT(Condition) statement in OnPreSection trigger.
  • IonesiC
    IonesiC Member Posts: 14
    Hi,
    First you have to specify if it clasic or RDLC. :)

    You can use the "Hidden" / Visible option, and send a boolean variable in order to decide if the field/textbox should be visible.