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

Loaded event fires after model window closes (Q1 2010)

1 Answer 33 Views
Window
This is a migrated thread and some comments may be shown as answers.
Chris Jones
Top achievements
Rank 1
Chris Jones asked on 16 Mar 2010, 07:54 PM
Hello,

Upgrading from Q3 sp2 to Q1 2010, I ran into the scenario where I have a RadWindow open (w1), which then would launch another radwindow (w2) (this includes RadWindow.Alert, etc).  When w2 closes, the Loaded event is firing for w1. Both windows are model.

This did not happen in Q3 2010, so I am wondering if this is indeed a bug with the new release?

1 Answer, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 19 Mar 2010, 10:17 AM
Hello Chris Jones,

This is the expected behavior. The Loaded event will fire every time  BringToFront  for  w1 is called. Exactly that happens when you close the modal w2. This is made in order to workaround a limitation of Silverlight. If you want to execute some code only when the RadWindow is created you should use the Opened event.

Hope that will suit your needs. If it does not work for you please let me know.

Regards,
Boyan
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
Tags
Window
Asked by
Chris Jones
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Share this question
or