Displaying Dynamically Generated Columns in Report

2 posts, 1 answers
  1. Monik
    Monik avatar
    7 posts
    Member since:
    Apr 2015

    Posted 18 May 2015 Link to this post

    I have a report where my columns coming from Stored Procedure are dynamically generated using Pivot
    Now there are following points to be focused on:
    1. Number of columns that will be generated is not fixed
    2. Since columns are generated dynamically, they are not seen in data explorer
    3. Name of dynamic columns keeps on changing
    How do i display them on report


    Please Guide

  2. Answer
    Stef avatar
    3611 posts

    Posted 20 May 2015 Link to this post

    Hello Monik,

    You will need to create the report at run-time.

    The recommended approach for building/modifying reports is to use the integrated in Visual Studio Report Designer and create a sample report with test data and the layout you need to achieve. Then you can re-use the code auto-generated in the report's designer.cs file.

    All modifications on the report can be done at run-time prior to displaying/processing the report. The attached demo project illustrates the settings for building a Table item based on the data schema.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top