Can RDLC handle recursion?

FAYJUL ISLAM 0 Reputation points
2024-12-03T07:06:40.78+00:00

We are working with complex forms that are dynamic, where certain fields or sections are displayed based on user input. These forms are generated using recursion. For example, an Add Section button allows users to dynamically create new sections, which can themselves contain similar sections as children.

Our goal is to generate these forms as PDFs using RDLC. Can RDLC effectively handle recursive structures, or is there a recommended workaround for such scenarios?

To better illustrate the data structure, here's an example:

Parent 1
 Child 1 (Has an Add Section button)

 Child 2
After clicking the Add Section button in Child 1, the structure updates dynamically to:

Parent 1
   Child 1

     Grandchild 1

         Great-Grandchild 1 (Has an Add Section button)

     Grandchild 2

   Child 1(Has an Add Section button)

   Child 2


We would like to know if RDLC can manage and display such recursive, hierarchical structures effectively in a PDF. If not, what are the recommended alternatives or approaches to achieve this functionality?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
40,163 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.