Hi, can someone help me with the following scenario. I have a master page which holds the definition of a radwindow which is shown in modal mode. In this window I have a toolbar and a TextBox. As soon as the user edit something in the TextBox, I will set a hidden field to true so I know the data has changed. Now when the user click on the close button (actual the cross in the right corner) and didn't save the data, I want to show a confirmation window which asks to save the modified data or just close the window.
- How can I then show the modal dialog?
- How can I save the data if the user decides to save the data?
A other possibility would be, when the user wants to save the data, the close action is canceled, so he can save the data using the button in the radwindow.
I use version Q3 2008 1105.35 of the Rad-Ajax controls. We cannot upgrade to the lastest version yet. So using onBeforeClose is not an option.