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

Problem with empty textbox?

3 Answers 472 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
CTO
Top achievements
Rank 1
CTO asked on 23 Aug 2016, 08:24 AM

how to remove space when there is no value on the textbox in the telerik report. I've added a picture for better understanding.

Thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Rick
Telerik team
answered on 23 Aug 2016, 08:13 PM
Hello,

First, review the Visibility section of out Design Considerations for Report Item Layout for a primer of how showing/hiding items will affect the Report layout.

You can then use a Bindings on the Visible property of that TextBox. The expression used in the Binding should return true when when you want to hide the TextBox.

Regards,
Rick
Telerik by Progress
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
0
CTO
Top achievements
Rank 1
answered on 29 Aug 2016, 04:40 AM
I don't understand how to do that can you give me some example?
0
Accepted
Stef
Telerik team
answered on 29 Aug 2016, 02:02 PM
Hi,

Please test the following settings:
  1. Add two Panel items side by side, and place the TextBox items in them e,g, organize TextBox items in two separate columns;
  2. Select the TextBox items, you want to hide, and open their Bindings collections editors.
  3. Create a binding like:
    Property path: Visible
    Expression: =IIf(1=0,False, True)


Run preview of the report, where the TextBox items will not be visible. the TextBox items beneath them should have moved up in their places. For more details, please check Design Considerations for Report Item Layout.

Regards,
Stef
Telerik by Progress
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
Tags
General Discussions
Asked by
CTO
Top achievements
Rank 1
Answers by
Rick
Telerik team
CTO
Top achievements
Rank 1
Stef
Telerik team
Share this question
or