> imagine the following scenario:
> 1) the user clicks on a SimpleAction-button
> 2) the application does some heavy calculation in the OnExecute-event
> 3) after some time, the calculation is done and the user shall see a
> confirmation-message, that everything was going right.
I guess that you take into account that the process should be asynchronous and should be visualized in some way (for example, with a progress bar), in other words the end-user may work with other parts of the application during a heavy calculation process, watch the process status and he will be notified about the process completion.
In short, the answer is "No, we don't have a ready-to-use solution for this scenario for both Win- and Web-applications"
Thanks, we'll consider your ideas and see how they can be incorporated into our plans.
In XAF, you can implement standard solutions available in .NET Framework for such scenarios. At the moment we have following XAF integration examples collected here for more convenience of XAF customers who require the same thing.
In the simplest case, you can consider using the Splash Screen Manager API to display a loading form as described in the example posted by Sergey Kovalev in the T105983 ticket. There may be alternative solutions using Controllers like shown by Oleg Krupenkin in T381107 or as it is implemented in the standard XAF WaitCursorController class (the default mouse pointer is turned into a clock).
If you would like to update the main form status bar with the progress information, check out the eXpressApp Framework > Task-Based Help > How to: Customize Window Status Messages article as well as the T474178 ticket.
Finally, research the LongOperationController, ProgressForm and related classes in our FeatureCenter demo (C:\Users\Public\Documents\DevExpress Demos 1X.X\Components\eXpressApp Framework\FeatureCenter\CS\FeatureCenter.Module\LongOperationController.cs) to see how a fully custom progress form functionality can be implemented.
By default, a wait form powered by the ASPxLoadingPanel Class is already displayed for any operation in XAF Web UI (it can be hidden if the browser window lost focus, though). You can also use standard ASP.NET WebForms approaches for displaying a custom loading dialog, e.g. check out the How to start a long running operation in ASP.NET application using the ThreadPool.QueueUserWorkItem method and show its progress in a browser using a WebService method article.
NOTE: since executing long tasks and reporting progress is a general programming task, which is not related directly to XAF, you may want to look for more options in public community resources like MSDN, StackOverFlow, etc., which are devoted to the target platforms you are developing for, e.g.: http://stackoverflow.com/search?q=.net+background+tasks