For anyone concerned, the scenario in the case is a report built at run-time, where TextBox items are added dynamically. With the specific reports settings and the TextBox items added with zero width and zero height dimensions the result was " System.IndexOutOfRangeException: Index was outside the bounds of the array.
" in Telerik.Reporting.OpenXmlRendering.Wordprocessing
The solution in the specific case was to set the TextBox items Size properties to valid values as the Report Designer would not allow adding items with Size(0,0).
The recommended approach to validate the created at run-time report structure is to serialize
the final report in TRDX file and check it with the Report Explorer of the Standalone Report Designer
. Also creating sample structures with Visual Studio Report Designer is helpful to get familiar with items' structure and allows you to reuse the auto-generated code from the sample report's designer.cs(vb) file.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.