This is a migrated thread and some comments may be shown as answers.

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

1 Answer 40 Views
Window
This is a migrated thread and some comments may be shown as answers.
Shiva
Top achievements
Rank 1
Shiva asked on 28 Dec 2010, 08:16 AM
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

1 Answer, 1 is accepted

Sort by
0
Cuthahotha
Top achievements
Rank 1
answered on 28 Dec 2010, 02:09 PM
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();
      }
Tags
Window
Asked by
Shiva
Top achievements
Rank 1
Answers by
Cuthahotha
Top achievements
Rank 1
Share this question
or