RadWindow.Confirm .Alert .Prompt BringToFront?

5 posts, 0 answers
  1. Kevin
    Kevin avatar
    31 posts
    Member since:
    Jan 2009

    Posted 23 Nov 2009 Link to this post

    Is it possible to force these three options to always come to the front?  I'm encountering an issue when I have multiple RadWindow's open that if one of those Windows calls either of these three options that the Confirm,Alert,Prompt is behind the Window.  Works fine if there is only 1 Window open at a time.
  2. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 23 Nov 2009 Link to this post

    Hello Kevin,

    The newly opened windows always come to the front. The problem comes when you open a new window just before the Activate method of another RadWindow is called (this happens when a RadWindow is clicked). If you have a button in a RadWindow and you show a confirm when the user mouse down the button, the new window will appear under the old one, because the old one will call its Activate method. You could work this around by opening the new windows after the click event.

    If this doesn't help, please send us a sample project that represents the issue - this would help us investigate what the problem is.

    Miroslav Nedyalkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Kellie
    Kellie avatar
    29 posts
    Member since:
    Feb 2009

    Posted 10 Feb 2012 Link to this post

    Try setting the owner of the RadWindow and it should come to the front.

    Silverlight e.g.


    var owner = this.ParentOfType<ContentControl>();
    var dlgParams = new DialogParameters
            Content = e.MessageString,
            Header = "Save Failed",
            Owner = owner

    WPF e.g. 

    var dlgParams = new DialogParameters
        Content = e.MessageString,
        Header = "Status",
        Owner = this


    Kellie Harrisson
    Sierra Systems, Edmonton, Canada

  4. Robert
    Robert avatar
    271 posts
    Member since:
    Mar 2011

    Posted 31 Jan 2014 in reply to Kellie Link to this post

    Thanks, your solutions appears to work well.
  5. Shyam
    Shyam avatar
    1 posts
    Member since:
    Jul 2014

    Posted 18 Jul 2014 Link to this post


    I am facing the same problem, i tried the way you have shown in your reply but still it does not work for me as i am not able to find the "Owner" property in "DialogParameters" 

    Any help will be highly appreciated.

Back to Top