Using RadDocking I am trying to create an MDI-style app with many Windows using RadGridViews to edit data.
Instead of using child Windows I try to dynamically create RadPanes with UserControls from a Menu:
When the user tries to close the RadPane and the data is dirty I want to offer a choice "Discard changes?".
With Windows I would use the Closing event for this.
How can I do this with a RadPane?
There seems to be no PreviewClose event for RadPane even though they have a close button. UserControls do not have a Closing event.
Or is there a better way to create an MDI-Stlye UI?
As there is no example, I am not even sure if it is a good idea to create RadPanes with UserControls. One cannot put Windows on Panes, but maybe there is some other Control to host the editing Controls we should use.