Conditional Formatting on Sub Report

2 posts, 0 answers
  1. Adeel
    Adeel avatar
    2 posts
    Member since:
    Feb 2013

    Posted 01 Oct 2014 Link to this post

    I use sub report in the footer of parent report.
    There is a field of Document Type.
    i want that Sub Report Visibility is false when Document Type = "DELIVERY ORDER".
    I give the condition

    Expression                               Operator                      Value
    =Field.DocumentType                   =                      ="DELIVERY ORDER"

    But this is not working it is show that report.
    Help me.
  2. Stef
    Stef avatar
    2926 posts

    Posted 03 Oct 2014 Link to this post

    Hello Addel,

    You can use a binding to the SubReport item's Visible property, which expression is based on Field.DocumentType. In case the field has various values, you may need to use aggregates or custom function to build a proper expression, evaluating to True or False.

    I hope the above information is helpful.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft banner
Back to Top