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

Disabling visible property

1 Answer 93 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Farjad Farid
Top achievements
Rank 1
Farjad Farid asked on 10 Sep 2008, 12:00 PM
Is there a way of disabling visible property of a field?
I couldn't see anything in conditiaonal formating.

For example in an invoice when there is no order number then the invoice would lok much cleaner if this is not displayed.



1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 10 Sep 2008, 02:13 PM
Hello Farjad Farid,

Please do not open code libraries in case you have inquiries about our products. Code libraries serve a different purpose (more info here) and are not meant to be used for contacting us with a question.
As to your inquiry - you can control whether a report item is shown or not by altering its Visible property. Another possible approach is making the TextBoxes very short, i.e. decrease their height to almost zero, keep the original spacing between them, and set their CanGrow property to true. In this way when a TextBox has some data to show it will grow as much as needed pushing all below it dows, and if it does not have any data -- it will be invisible and it would not occupy a lot of space because its height is minimal.

Sincerely yours,
Steve
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Farjad Farid
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or