Loaded event fires after model window closes (Q1 2010)

2 posts, 0 answers
  1. Chris Jones
    Chris Jones avatar
    13 posts
    Member since:
    Sep 2009

    Posted 16 Mar 2010 Link to this post


    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?
  2. Boyan
    Boyan avatar
    758 posts

    Posted 19 Mar 2010 Link to this post

    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.

    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.
Back to Top