Remove empty space

2 posts, 1 answers
  1. Sasa
    Sasa avatar
    25 posts
    Member since:
    Jul 2013

    Posted 13 Jul 2015 Link to this post

    I have multiple textboxes in the detail section. If I set visibility of one textbox to false with conditional formatting empty space is visible.

    Also I put

    textBox3.Height = new Telerik.Reporting.Drawing.Unit(0);

    in the constructor.

    How can I remove that empty space and move below textboxes on top? You can see my report from report designer and report viewer in the attached images.


  2. Answer
    Stef avatar
    2923 posts

    Posted 14 Jul 2015 Link to this post

    Hello Sasa,

    Avoid setting items dimensions to zero units in the report definition, instead use conditional formatting or bindings to hide them.

    Items will change their positions if one is hidden based on the Design Considerations for Report Item Layout. Test organizing items in Panel items and/or apply the approach for minimizing the size of a container when hiding items.

    I hope the provided information is helpful.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top