We have an edit window with an asp:SqlDataSource and FormView. When we hit save, the SqlDataSource Updated event checks for exceptions, and if there are none, it injects the Close script for the window:
Inject.Text = "<script>CloseMe()</script>";
Inject.Text = "<script>CloseMe()</script>";
function CloseMe() |
{<br/> |
var oWindow = GetRadWindow(); |
oWindow.argument = 1; |
oWindow.close(); |
} |
We recently updated the Telerik controls on our development server.
What happens on development with this code is that the window does close, but not until after it flashes up a page that says "Navigation to the Webpage has been Cancelled". On our Production server, which hasn't been updated, it doesn't do that. It just shows the loading panel before it closes.
I have tried just about all I can think of to remedy this on my end. I believe it is something happening differently with the IFRAME in the RAD Window or the RAD Panel in the most recent update.
Anyone have any suggestions?