W3 is now active
If I click W2 the loaded AND unloaded event is fired for BOTH windows? Why?
If I click W1 the loaded AND unloaded event is fired for ALL THREE windows? Why?
Logically this does not make sense. The loaded event should fire for the active/foremost window and the unloaded event should fire for the previous window.
I can manage these events on the window and the main usercontrol (content) by having a flag that tells if the window is open or closed, but if there are controls/usercontrols in the content that subscribe to their own loaded/unloaded events there is trouble since they fire 5-6 times every time I switch between windows (they don't know if they should ignore these events or initialize/clean-up).
7 Answers, 1 is accepted
Thank you for contacting us. We were able to fix the problem and the fix will available in the next internal build. Though the loaded event will still be fired of the window that is brought to the front as this is required to close and reopen its popup in order to bring it to the front.
Your Telerik points were updated for your cooperation.
Miroslav Nedyalkov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
- When the next internal build will be released?
- What should we do about this problem by now?
The internal build will be available for download tomorrow. Hope the fix will suit your needs.
Regards,
Boyan
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
To be clear; it's by design that the unloaded/loaded event fires for the window being brought to the front?
It is not by design, but it is caused by a limitation in the framework - the popup control cannot be brought to the front without closing it, which causes this side effect. This will change if the popup start to support ZIndex or bring to front functionality.
Hope this information is helpful.
Miroslav Nedyalkov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
No, it works exactly the same way in the current version of SL5.
All the best,Miroslav Nedyalkov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>