Create dynamic report

2 posts, 0 answers
  1. Sandra
    Sandra avatar
    3 posts
    Member since:
    Feb 2013

    Posted 23 Dec 2013 Link to this post


    I have applied a RadDockLayout which includes two RadDockZones. The user can change it's layout which is saved in sqlserver. One of the dock zone includes asp repeater control which includes some divs and some other elements each with float left in css. The other dock zone includes only one RadTextBox.

    Now I want to create it's telerik report with the same layout the user has saved also with same design. Can anybody please tell me how would I create such a dynamic report? Also, if possible please provide some sample codes.

  2. Nasko
    Nasko avatar
    941 posts

    Posted 24 Dec 2013 Link to this post

    Hello Sandra,

    We have replied in your support ticket about the same inquiry. 

    Basically, you can read the layouts stored in the database and based on some custom logic "translate" them into report definitions built with reporting items. Our suggestion is to create a sample layout with your custom UI and determine which reporting items will be required to recreate the same layout using the report designer. Then check the code generated in the report's Designer.cs(vb) file and reuse it to create the report dynamically. More details on how to do this can be found in the Programmatic Control of Reports help section.

    Note that you can allow end-users to create the layout of their reports by themselves using the Standalone Designer.


    New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

Back to Top