Set starting Label position?

1 Answer 60 Views
.NET Framework Conditional Formatting DataSource Object General Discussions Programming Rendering
Van
Top achievements
Rank 1
Van asked on 07 Sep 2022, 11:00 PM

I found some postings about this, but they're all more than 10 years old.  I'm hoping something has been added to address this since then.

On a label report, how can I tell the report to skip the first N labels so I start at a certain row and column?

Surely a hack to insert null rows at the top of the result set isn't the only option?  Is there some event I can use or anything to cause the engine to skip labels until I say continue?

Thank you!

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 12 Sep 2022, 11:23 AM

Hi Van,

Generally, the label report is treated as a regular report, usually multicolumn. As such, it is data-driven and the layout depends strongly on the provided data. That said if you want to specify from what location on the report/page the label rendering should start, you need to use either empty/null data, a Report Parameter, or other Global Object. For example, you may use Expressions to set the location/height or other style properties with Bindings or Conditional Formatting. More specifically, you may add an empty Report Header section at the beginning of the report and control its height. This will let the detail section containing the actual labels start later.

Our reporting tool generates the documents synchronously based on the Device Information settings for the corresponding export format. Unfortunately, you cannot say to skip part of the report. In some renderings, you may only specify the start and end page. By adding empty/null data fields you may mimic the skipping of some labels.

I have attached a sample that demonstrates the effect of adding an empty ReportHeader with controllable height, and some empty values in the data source for the report.

Regards,
Todor
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Tags
.NET Framework Conditional Formatting DataSource Object General Discussions Programming Rendering
Asked by
Van
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or