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

Detecting changes from a page in a Submenu

2 Answers 28 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 17 Mar 2014, 05:29 PM
Hello. I have a form that pops ups from a SubMenu item click. I'd like to know how to detect whether or not the 'save' button was clicked when the popup is closed. I've tried using OnBeforeUnload but since the popup html is actually part of the calling page, that does not work.

My requirement is to have a popup asking if the user is sure that they want to actually close the popup and it doesn't actually matter whether or not 'save' was clicked.

Does anyone have any ideas?

2 Answers, 1 is accepted

Sort by
0
Andrew
Top achievements
Rank 1
answered on 17 Mar 2014, 07:49 PM
To clarify on what I've made rather unclear, I need an ALERT that displays when the popup ( from the menu item ) is about to close.
0
Andrew
Top achievements
Rank 1
answered on 17 Mar 2014, 08:35 PM
I solved my problem by using the information provided here: http://www.telerik.com/support/code-library/confirm-closing-of-a-radwindow-by-using-radconfirm
Tags
Menu
Asked by
Andrew
Top achievements
Rank 1
Answers by
Andrew
Top achievements
Rank 1
Share this question
or