I need advice on window ZIndex workaround

3 posts, 0 answers
  1. Jan
    Jan avatar
    58 posts
    Member since:
    May 2010

    Posted 12 Apr 2011 Link to this post

    Hello, 
    I found out on some forum threads that you had to work around the silverlight limitations when it comes to windows and Zindexes.
    As a consequence, I have a strange behavior with BrongToFront() and Loaded() methods in some cases, and I would like to seek your advice.

    My scenario is this:

    -Parent window (P0) opens the child window (C0).
    -C0 window opens yet another child window (C01).
    -C0 window closes.

    Now I have just P0 and C01 opened, but would like to have C01 in front.
    What happens in reality is that sometimes P0 is in front and sometimes C01 is in front.. I have noticed that I cannot predict which Loaded() event fires first.
    I taught of some communication between these windows, but I would like to avoid this if possible and go for the generic solution.
    Can you give me any advice on how to make sure that a child window is in front?


    Thanks :)
  2. Jan
    Jan avatar
    58 posts
    Member since:
    May 2010

    Posted 13 Apr 2011 Link to this post

    Any comment is more than welcome :)
  3. DevCraft banner
  4. George
    Admin
    George avatar
    1332 posts

    Posted 15 Apr 2011 Link to this post

    Hi,

     
    Thank you for contacting us.

    I would suggest you setting the RadWindow.Owner property to the parent RadWindow. In this case, the child RadWindow knows which RadWindow is his parent and it won't go behind it. You could refer to our online documentation - http://www.telerik.com/help/silverlight/radwindow-features-positioning.html.

    Anyway, if you need to get all opened RadWindows and manage them manually, the RadWindowManager could be very helpful. 

    I hope this helps.

    Kind regards,
    George
    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