RadWindow does not show in WPF app when VS Debugger.Break

2 posts, 0 answers
  1. suchan
    suchan avatar
    2 posts
    Member since:
    Apr 2009

    Posted 24 Mar Link to this post


    I had a trouble as the following.

    Simply make a WPF app and work fine with RadWindow.Alert('good').

    But, It freeze my app(nothing I can control, it just was frozen) when I have a breakpoint before showing radwindow. Could I fix it?

      private void button_Click(object sender, RoutedEventArgs e)


    Best regards

  2. Nasko
    Nasko avatar
    555 posts

    Posted 28 Mar Link to this post


    The observed by you behavior is caused by the Alert itself. The Alert gets visualized as expected however, due to the break of the Debugger it comes below the MainWindow and because of that the MainWindow seems to freeze - notice that the predefined dialogs (such as RadAlert) are modal.

    So, in order to make it appear on top of the MainWindow you need to set the Owner of RadAlert to bet that MainWindow. Please, check the attached sample that demonstrates that approach.

    Hope this helps.

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft R3 2016 release webinar banner
Back to Top