pm

pm

  • NA
  • 109
  • 76.2k

how to set owner for rad confirm window ( Rad Alert Window)

Mar 29 2013 8:12 AM
hi,

how to set owner for radwindow. ( Radwindow.Alert/Confirm Window) in wpf viewmodel,

the code is

 var parameters = new DialogParameters
                {

                    Owner = Application.Current.Windows[0],
                                        or
                    Owner = Application.Current.MainWindow,

                    Content = "Messages",

                    OkButtonContent ="Yes",

                    CancelButtonContent ="No"

                };
                parameters.Closed += PlanPopupWindowOnClosing;
                RadWindow.Confirm(parameters);

it does not works

can any one help me?


Thanks & Regards

MUTHUKUMAR