RadRibbonWindow doesn't show up until all prompts/dialogue aren't resovled

3 posts, 1 answers
  1. Megamind
    Megamind avatar
    11 posts
    Member since:
    Jan 2018

    Posted 29 Mar Link to this post

    Hi, 

    I'm using RadRibbonWindow in my WPF application and in Loaded event of the window I'm showing a dialog/messagebox, but the problem is that when I launch the application the main radribbonWindow doesn't show up until all interrupts/events executed from Loaded event are resolved. Why is that I want to show both simultaneously when I launch the application. 

    <RibbonWindow x:Class="DynamicToolbarItems.MainWindow"

                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                    Title="MainWindow"
                    Height="350" Width="525"
                    Loaded="Window_Loaded">

    /*******************************code behind *************************************/

     private void Window_Loaded(object sender, RoutedEventArgs e)
     {

     

    System.Windows.MessageBoxResult result = System.Windows.MessageBox.Show("All Changes will be lost?", "message,                    System.Windows.MessageBoxButton.YesNo, System.Windows.MessageBoxImage.Question);

            }

     

     

  2. Megamind
    Megamind avatar
    11 posts
    Member since:
    Jan 2018

    Posted 29 Mar Link to this post

    It feels like Loaded event is called even before Main window is initialized or the time is wrong of this event. Why?
  3. Answer
    Martin Ivanov
    Admin
    Martin Ivanov avatar
    2245 posts

    Posted 02 Apr Link to this post

    Hello Megamind,

    Can you check the information on the approach suggested in the the following forum?

    Regards,
    Martin Ivanov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top