Using Telerik MVC Extensions Q1 2012
I have a project which opens a dynamic Telerik Window, which contains a form.
When this form is save, I am using a telerik prompt window to capture some extra information.
The save button on the form opens the prompt, which will then do an ajax call to submit the form and close the telerik window.
Sometimes this works correctly ( the first time?) but subsequent saves close the window, but do not remove the grey overlay over the page, preventing further page interaction until the page is refreshed.
Normally the onClose function on the window contains:
onClose: function (e) { e.preventDefault(); $(ruleEditApp.windowName).data('tWindow').destroy();},This has not been working, and so I have changed this function to:
onClose: function (e) { e.preventDefault(); $(ruleEditApp.windowName).data('tWindow').destroy(); if ($(".t-overlay")!=null) $(".t-overlay").remove()},This will find the errant overlay and remove it, allowing access to the page again.
I think this is a bug in the close window functions in the telerik code when 2 modal windows are open.
Hope this helps someone
