setting the location of panel

2 posts, 0 answers
  1. Petteri
    Petteri avatar
    9 posts
    Member since:
    Jan 2015

    Posted 18 Mar 2015 Link to this post

    I have a report in which there are some vertically stacked panels. Some of them may be hidden (with conditional formatting). How to set the location of the remaining panels so that there will be no empty space in place of a hidden panel (it already has Binding: Height = 0). Example
    [some panel]
      [panel x may be hidden if no data]
      [panel y may be hidden if no data]
      [panel z may be hidden if no data]

    So if panel y is hidden, z should move up. What kind of properties/bindings need to be set for this? The Y coordinate for the first panel is fixed.
  2. Stef
    Stef avatar
    2930 posts

    Posted 20 Mar 2015 Link to this post

    Hi Petteri,

    Please test to remove the Docking and Anchor settings from the Panel items and place them as required in the Report Designer. On hiding a Panel, the layout will change based on the Design Considerations for Report Item Layout.
    To shrink the container you can use the approach from the Collapse the container when hiding child report items KB article.

    Let us know if you need any further help.


    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