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

Better RadWindow.CanClose?

3 Answers 35 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 03 Apr 2012, 05:21 AM
Hi,

Is looks when RadWindow.CanClose is set to true user can still press "Alt+F4" to close the window.
I think in the case that we set CanClose=true we only want the window to be closed by explict call to Window.Close (by clicking a button after user has entered some required informatino for example).
Right now my workaround is hooking up to PreviewKeyDown  and ignore Alt+F4, can you consider fix this?

Thanks
Jason

3 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 06 Apr 2012, 09:01 AM
Hi Jason,

This behavior is by design. It was closing on Alt+F4 in our older versions, but it was reported as bug, so we have changed it. For now we are not considering any changes in the behaviour of the RadWindow. The solution you are using seems fine.

All the best,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Jason
Top achievements
Rank 1
answered on 09 Apr 2012, 09:07 AM
Do you mean "It was NOT closing on Alt+F4 in our older versions"? Because it is closing on Alt+F4 in the current version.
0
Konstantina
Telerik team
answered on 11 Apr 2012, 01:57 PM
Hello Jason, 

Yes, I meant NOT closing :)

Kind regards,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
Window
Asked by
Jason
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Jason
Top achievements
Rank 1
Share this question
or