Label Reporting

1 Answer 156 Views
Report Designer (standalone)
Mark
Top achievements
Rank 2
Bronze
Bronze
Veteran
Mark asked on 17 Jul 2023, 06:26 PM

We are using the built in Reporting Wizard to set up the report to print on specific label stock.  The biggest probelm we are having, is that if the label prints on more lines than the label will accommodate, it is pushing all remaining text down, there for, causing those labels to print misaligned on the remaining labels in that column.  Is there a way to force enything that prints outside the size of the label to just be skipped?  This is causing our customers some major issue where the first Label is an issue and now the entire column is wasted becuase of the first record in the column.

 

 

1 Answer, 1 is accepted

Sort by
0
Momchil
Telerik team
answered on 20 Jul 2023, 01:53 PM

Hi Mark,

You can prevent the textbox containing the label from expanding by adjusting the following properties.

This will force the textbox to retain its design-time size and trim any text that does not fit within it.

Best Regards,
Momchil
Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
Mark
Top achievements
Rank 2
Bronze
Bronze
Veteran
commented on 20 Jul 2023, 03:11 PM

Yes, we have all of those set, but we are still getting pushing down in the column.   Let me look more into this.
Mark
Top achievements
Rank 2
Bronze
Bronze
Veteran
commented on 20 Jul 2023, 03:12 PM

Well, we have one field set to CanGrow, but at most is it will add one more row.
Momchil
Telerik team
commented on 25 Jul 2023, 08:37 AM

Hi Mark,

Generally, if a textbox's CanGrow property is set to True, it should be able to grow vertically as much as necessary to accommodate all of its contents. Thus, if a certain field contains a large string, the textbox could potentially grow several rows.

That said, a good method to determine which item is causing unexpected growth, blank space/pages, etc. is to set unique background colors to the report items and preview the report in the rendering format in which the issue occurs.

If you need additional assistance, you can strip your report of sensitive data, if it contains any, and attach it to your next message. I will take a look at it for you and let you know what I find. Sending some dummy data along that makes the issue apparent would be of great help as well.

Last but not least, if you do not wish to share your report in the public forum, you can open a separate support ticket and reference this thread in it.

Mark
Top achievements
Rank 2
Bronze
Bronze
Veteran
commented on 25 Jul 2023, 10:23 AM

Hi Momchil

 

Thanks for the response. I guess, is that when we used the label wizard, it set up the height of the label.  However, what the wizard is just doing, is setting up a multi-column report, which, from my experience at this point, regardless of the set height of the detail band, the detail band will grow to accomedate the data with it in.  This is a problem for labels.  IMO, it would be better to screw up just one label in the column, as opposed to messing up all the labels in the column after the first one over flows.  

 

I will put together a sample application to share with this thread, as I am almost certian I can repo this w/out any problems.

Momchil
Telerik team
commented on 27 Jul 2023, 02:23 PM

Hi Mark,

Indeed, the detail section of the report will grow to accommodate all of the data in the report.

I do not know the details of your scenario and the layout you wish to achieve, but perhaps forcing a Page Break before/after the detail section (or a group section) can work for you.

This will create a new logical page for each detail (group) section, and if one of them overflows, the following one should start from the beginning of a new column and retain the desired layout.

You can also try to take advantage of the Keep Together functionality which instructs the rendering engine to attempt to keep the contents of the selected item/section on a single page where possible.

I hope this helps.

Tags
Report Designer (standalone)
Asked by
Mark
Top achievements
Rank 2
Bronze
Bronze
Veteran
Answers by
Momchil
Telerik team
Share this question
or