Declined
Last Updated: 10 Feb 2021 13:39 by ADMIN
ADMIN
Telerik Admin
Created on: 22 Aug 2012 10:35
Category: Window
Type: Bug Report
5
Window: PreviewClosed event is called twice when the Cancel property is set to true and the window is shown using ShowDialog() method
PreviewClosed event is called twice when using custom close button in DialogWindow
1 comment
ADMIN
Dinko | Tech Support Engineer
Posted on: 10 Feb 2021 13:39

Hello,

After investigating this behavior it turns out that this comes from the framework. It can be easily reproduced with MS Window. The Closing() event will be called twice when we set the e.Cancel property from the event arguments to True. This is in a case when the Window is shown using the ShowDialog() method.

Regards,
Dinko
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.