Keep backstage open after an event within it ?

2 posts, 0 answers
  1. Barry
    Barry avatar
    90 posts
    Member since:
    May 2016

    Posted 18 Jul Link to this post

    Hi,

    We have an option to close our app in our Backstage panel:

    var result = MessageBox.Show(unsavedChangesMsg, Properties.Resources.MessageBoxTitle_Confirmation, MessageBoxButton.OKCancel, MessageBoxImage.Question);

    ...if the user selected "Cancel" then the ribbon goes to last tab selected instead of staying in the backstage. The backstage isn't considered to be a tab it seems, so keeping it open is problematic it seems. 

    I've tried:

    - Hiding all tabs.

    - Unselecting all tabs.

    - MasterRadRibbonView.SelectedIndex = -1;

    - MasterRadRibbonView.SelectedItem = MasterRadRibbonView.Backstage;

    - IsBackstageOpen = true; //databinding

    ...and a few other things, but when the screen comes back after the user exits out of the pop-up window, the last tab is loaded, when we want it to stay on the Backstage until the user selects a tab themselves.

    Barry

     

  2. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    1037 posts

    Posted 23 Jul Link to this post

    Hi Barry,

    Can you please specify how exactly you're displaying the MessageBox and handling the closing of the application?

    I've prepared a small sample project where canceling the operation keeps the backstage open at my end. If possible, please modify it to better resemble your setup and send it back to me so that I can further assist you.

    Thank you in advance for your cooperation on the matter.

    Regards,
    Dilyan Traykov
    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