URGENT : Can we have a parent associated with a rad window?

2 posts, 0 answers
  1. Shiva
    Shiva avatar
    61 posts
    Member since:
    Oct 2010

    Posted 28 Dec 2010 Link to this post

    Hi All,

    In our project, we have a requirement of having more intuitive pop ups. The conventional message box provided in silverlight looks like windows message boxes.

    We then thought of using Telerik Rad Window as an alternative for message box. But we have two concerns associated with it:

    1. User should not be able to resize the pop-up :  Can be acheived by setting RadWindow.ResizeMode = NoResize.
    2. User shouldn't be allowed to change anything at the background if pop-up is open : This is where we are stuck at present. If a rad window opens, user can minimize it and continue working on the main parent page. How can we restrict this? In short, we want rad window to behave like a pop up window having features like no minimize and maximize buttons, user should not be able top work at the background if pop-up is open etc.

    Can you please share your comments with us or let us know if we can acheive this using some other approach??

    Warm Regards,
    Shiva
  2. Cuthahotha
    Cuthahotha avatar
    81 posts
    Member since:
    Sep 2008

    Posted 28 Dec 2010 Link to this post

    Shiva,

    This code will instantiate a dialog, center it on the screen and show as a modal dialog.  Popups is the name space and directory where i keep all my modal dialogs.

    private void cmdUserConfig_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
          {
              Popups.dlgUserConfiguration dlg = new Popups.dlgUserConfiguration();
              dlg.WindowStartupLocation = Telerik.Windows.Controls.WindowStartupLocation.CenterScreen;
              dlg.ShowDialog();
          }
  3. DevCraft banner
Back to Top