I have a button that opens a radwindow. The button more or less just tests the user input of a url in a RadWindow.
Below is the code that is called when the button is clicked. My issue is when the user closes that small RadWindow the page itself stops responding, you can click buttons and such but have no cursor and I can see the page thinking type icon at the top spinning and spinning and just doesn't stop. What is wrong? Why is the page having to think when the window is closed?
function
openNewWindow(testlink)
{
var windowURL = document.getElementById("ctl00$ContentPlaceHolder1$tmcreate$" + testlink).value;
if (Left(windowURL, 7) != "http://")
{
var oWnd = radopen("http://" + windowURL, null);
}
else
{
var oWnd = radopen(windowURL, null);
}
}
function Left(str, n)
{
if (n <= 0)
return "";
else if (n > String(str).length)
return str;
else
return String(str).substring(0,n);
}