This example demonstrates how to override and customize saving in the End-User Designer. This can be useful, for example, if all the reports in a project should be stored in a database, and are retrieved from the database via a stream, and all of this should be done automatically, without forcing an end-user to do anything but click the Save (or Save As) toolbar button.
For a more complex approach on saving reports in an End-User Designer, see Report Storage for the End-User Report Designer.
In this example, a report will also be automatically saved using the custom saving procedure when an end-user closes the Report Designer.
To implement this task, handle the ReportCommand.SaveFile and ReportCommand.SaveFileAs commands. Note that to prevent the standard saving procedure from being called, you just need to enable the handled property.
Question Comments
Added By: Gerard D'Rozario at: 1/31/2014 1:52:51 PM
Why is this project only compatible with VS 2012+ ?
Added By: Jairo Marques at: 1/7/2016 5:21:21 PMIs there a sample project to do the same thing using ASP.Net? I would like to change some behavior for commands and hide others.
Added By: Vasily (DevExpress Support) at: 1/8/2016 2:30:06 AMHello Jairo,
To process your recent post more efficiently, I created a separate ticket on your behalf: T331919: Web Report Designer - How to override/hide commands. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.