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

RadWindow.Confirm() + escape key = true?

1 Answer 99 Views
Window
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 25 May 2012, 12:28 AM
Hello,

According to this thread  (see Konstantina's answer), pressing the "Escape"  key with the Confirm dialog opened should return false.

But the following sample returns true:
bool? dialogResult = null;
Telerik.Windows.Controls.RadWindow.Confirm(
new Telerik.Windows.Controls.DialogParameters()
{
Closed = (w, e) =>
{
       dialogResult = e.DialogResult;
}
});

Is this the expected result? I would think escape would return false.

Thanks,

Simon

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 28 May 2012, 01:46 PM
Hello Simon,

This issue is fixed, and now pressing Escape on RadConfirm dialog returns Cancel. More on what are the expected results from the dialog you could find in this forum post.
 
Greetings,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
Window
Asked by
Simon
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or