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

Conditional line (address2)

2 Answers 57 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 21 Apr 2020, 05:25 PM

Hello!

I'm using the standalone report designer v9.0.15.324.

Using the text box or HTML text box, is there any way to omit an 'address2' (e.g., "Suite 345", "Apt. 9G", etc) line when that data is blank?  Using the ISNULL function leaves a blank line in the mailing address as follows:

John Smith
1234 Maple Rd.

Anywhere, ZZ, 99999

 

If not using those objects, what do you recommend?

Thanks!

2 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 24 Apr 2020, 10:43 AM

Hi Adam,

You may use the CanShrink property of the TextBox and HtmlTextBox. Set it to True, which will allow the report item to shrink when it is empty. The default property value is False.

Regards,
Todor
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Adam
Top achievements
Rank 1
answered on 24 Apr 2020, 02:02 PM
👍 Exactly what I was looking for.  Thanks much!
Tags
Report Designer (standalone)
Asked by
Adam
Top achievements
Rank 1
Answers by
Todor
Telerik team
Adam
Top achievements
Rank 1
Share this question
or