I have a Radwindow
when i check the error ,i use RadWindow.Alert to show me the error
First i use a RadWindow(parent) which contains a GridView to show datasource
Then select some records and click the delete button named toolbarDeleteThemeObj, the click event as follows
the bug is
when i check the error ,i use RadWindow.Alert to show me the error
First i use a RadWindow(parent) which contains a GridView to show datasource
Then select some records and click the delete button named toolbarDeleteThemeObj, the click event as follows
private
void
toolbarDeleteThemeObj_Click(
object
sender, RoutedEventArgs e)
{
RadWindow.Confirm(CommonResource.ConfirmDeleteNotRecoveredPrompt,
new
EventHandler<WindowClosedEventArgs>(OnObjectiveThemeWindowClosed));
}
private
void
OnObjectiveThemeWindowClosed(
object
sender, WindowClosedEventArgs e)
{
if
(e.DialogResult ==
true
)
{
if
(SelectedItem.Count<=0)
{
RadWindow.Alert(
"No Record Selected"
);
return
;
}
//sth other
}
}
RadWindow.Confirm
shows correctly,but the bug is
RadWindow.Alert
show behind the parent RadWindow ,so i must close the parent RadWindow to see the error RadWindow.