This is a migrated thread and some comments may be shown as answers.

Allow final user to edit a Telerik report

5 Answers 499 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
J
Top achievements
Rank 1
J asked on 15 Oct 2015, 11:05 AM
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.

5 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 19 Oct 2015, 09:26 AM
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 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
0
J
Top achievements
Rank 1
answered on 19 Oct 2015, 02:17 PM
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.
0
Accepted
Nasko
Telerik team
answered on 22 Oct 2015, 07:10 AM
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
0
Vlad
Top achievements
Rank 1
answered on 21 Jan 2020, 12:26 PM

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

0
Katia
Telerik team
answered on 24 Jan 2020, 10:01 AM

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
Tags
General Discussions
Asked by
J
Top achievements
Rank 1
Answers by
Nasko
Telerik team
J
Top achievements
Rank 1
Vlad
Top achievements
Rank 1
Katia
Telerik team
Share this question
or