Allow final user to edit a Telerik report

6 posts, 1 answers
  1. J
    J avatar
    20 posts
    Member since:
    Sep 2015

    Posted 15 Oct 2015 Link to this post

    Hello,

    I'm developing a WPF application (C#) and I'd like to know how to edit a Telerik report. I mean, how can I allow the final user to edit non calculated fields? I'd like him to change change any data from the report and then I'd like the report to refresh the calculated fields.

    Could you please help me with this?

    Thanks.
  2. Nasko
    Admin
    Nasko avatar
    1071 posts

    Posted 19 Oct 2015 Link to this post

    Hello J,

    If the users need to make slight changes to the Telerik Reporting report presentation, you can let them do so by using Report Parameters. Report parameters are used to specify the data to use in a report, connect related reports together and vary report presentation. For example, you can use a boolean report parameter to set a TextBox item's visibility and show/hide the item based on the user preferences for the parameter value.

    If your users need to make substantial changes to the report definition, layout, data fields used, data sources, etc., the only options to let your users do so on demand is by providing the Standalone Report Designer (Windows tool) as a part of your integrated product, or by creating a custom module in your application which generates reports on the fly based on user input.
    Note that creating a tool or a custom module which will generate the entire report definition on the fly based on some user defined rules and settings is not a trivial matter. In general, the fastest way to do this is to create the desired report layout in the Visual Studio Report Designer and use the code it automatically generated in the .Designer.cs file as a template for dynamic report generation. In this undertaking, you may also find useful the Programmatic Control of Reports help articles on the topic and the Reporting API Reference.

    Regards,
    Nasko
    Telerik
    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
  3. J
    J avatar
    20 posts
    Member since:
    Sep 2015

    Posted 19 Oct 2015 in reply to Nasko Link to this post

    Thank you very much for your reply. 

    I don't think I explained it correctly. I want an editable preview of the report. I've attached an image to see it clear. The user needs to change the data in the blue box while watching the preview and the TOTAL row needs to be updated right after any change. At that point and before see the final report in the report viewer I would store the changes in the database in order to create the report.


    It's a tricky scenario but I hope you can help me with this.

    Many thanks.
  4. Answer
    Nasko
    Admin
    Nasko avatar
    1071 posts

    Posted 22 Oct 2015 Link to this post

    Hello J,

    Such editable report scenario is not supported in Telerik Reporting. The scope and purpose of a Reporting solution are not to save data to the database. It is intended to process and show meaningful data to the end user.
    What you can do to modify Telerik report at run-time have been listed in my previous post.

    Regards,
    Nasko
    Telerik
    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
  5. Vlad
    Vlad avatar
    5 posts
    Member since:
    Dec 2018

    Posted 21 Jan Link to this post

    Hi guys,

    I have the same question as J.

    Has this changed with the newest versions? Can the user do inline editing inside a report (not necessarily to save the edited field value in the DB), to make it more dynamic and without moving back and forth into different screens and reports.

    Thank you,

    Vlad

  6. Katia
    Admin
    Katia avatar
    713 posts

    Posted 24 Jan Link to this post

    Hello Vlad,

    Our recommendations have not changed. See the approach that includes Report Parameters described by Nasko in this post

    In addition to Standalone Report Designer and Visual Studio Report Designer, report authoring capabilities have also been extended with a Web-Based Report Designer. In case you have a web application, you can offer the end-users the possibility to edit reports directly in the application.

     

    Regards,
    Katia
    Progress Telerik

    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