This is a migrated thread and some comments may be shown as answers.

Visible property and retained space

3 Answers 36 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sean
Top achievements
Rank 1
Sean asked on 05 Jul 2012, 01:19 PM
Hello,

I have a subreport that lists items and in some cases an item may have a remark or comment. The problem im having is that if there is no remark I set the visibility to false, however the space where the text is remains. How can I resolve this?

CURRENT OUTPUT:
    GROUP HEADER
        Item1

        Item2
            remark
        Item3

        Item4

DESIRED OUTPUT:
    GROUP HEADER
        Item1
        Item2
            remark
        Item3
        Item4

Thanks

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 05 Jul 2012, 01:26 PM
Hi Sean,

The Design Considerations for Report Item Layout help article, contains the answer to your inquiry. Please review it and let us know if further help is needed.

Greetings,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
David A.
Top achievements
Rank 1
answered on 06 Jul 2012, 08:13 PM
Steve,

This is quite unfortunate.  I have a payment voucher that I am creating based on a very specific layout.  Many items are not shown at runtime which is causing the placement of other fields to move around.  The only workaround is to set the text values to an empty string and set borders to "none" on fields I would normally just set to hidden.

David A.
0
David A.
Top achievements
Rank 1
answered on 08 Jul 2012, 01:37 AM
I found a workaround for this.  If you set the anchor properties of the controls you don't want to be affected by the visibility of other controls, this will solve the problem.
Tags
General Discussions
Asked by
Sean
Top achievements
Rank 1
Answers by
Steve
Telerik team
David A.
Top achievements
Rank 1
Share this question
or