Forums

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Generator for .NET (v3.x and older)  /  Contents from a subreport overlap the text beneath

Forum Thread - Contents from a subreport overlap the text beneath

Hi dear DynamicPDF Team,

I am generating a PDF from a dplx-file with .NET - ceTe.DynamicPDF.35. The dplx-file has a subreport like this:

<subReport id="CustomizedProductDescriptionReport" width="183" x="34" y="43">
        <query id="CustomizedProductDescriptionQuery">
                <eventDriven connectionString=""></eventDriven>
        </query>
        <header id="CustomizedProductDescriptionHeader" height="1"/>
        <detail id="CustomizedProductDescriptionDetail" autoSplit="true" height="13">
                <recordArea id="CustomizedProductDescriptionKey" splittable="true" expandable="true" width="100" height="13" x="0" y="0" font="Arial" fontSize="7.5">
                        <text>#Key#</text>
                </recordArea>
                <recordArea id="CustomizedProductDescriptionValue" splittable="true" expandable="true" width="83" height="13" x="101" y="0" font="Arial" fontSize="7.5">
                        <text>#Value#</text>
                </recordArea>
        </detail>
        <footer id="CustomizedProductDescriptionFooter" height="1"/>
</subReport>

The subreport should represent a simple Key-Value table - two columns on each row. Unfortunately, when I feed it with data, the table overflows and overlaps the below placed elements, instead of pushing them further below. What am I missing? Is my markup in the dplx-file wrong? Or do I have to use some C#-code to adjust this?

The strange thing is that when I use a simple recordArea with all the text as a simple string, then the other content gets pushed below. But when I use a subreport, it seems it does not affect the layout and the flow of the below positioned elements.

Many thanks in advance!
Posted by a ceTe Software moderator
Hello,

Can you please send over the following details to support@dynamicpdf.com so we can look into it further?

1.        DPLX file.
2.        Output PDF.
3.        Code sample used to create PDF Report.
4.        Exact version and build number of the DynamicPDF DLL file used in the application. You can find this information in DLL references properties (Version and Description fields) in Visual Studio.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 9:05 AM.