Hi Steven,
I suppose that BeforeCloseEditPage method is attached to the OnClientBeforeClose event of the RadWindow object. Please note that you need to use the second parameter (the args, as shown in the demo) in order to cancel closing the window. Your code should looks like this:
I hope this helps.
Best wishes,
Fiko
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items.