I have a page that opens and aspx page in a radWindow using the following code:
function
OpenWindow(id)
{
var wnd = window.radopen('../public/PotentialActivity_Details.aspx?PU=1&activityid='+id, 'Activity Details');
wnd.setSize(650,400);
wnd.moveTo(50,50);
wnd.set_modal(true);
wnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Close);
wnd.set_status('');
return false;
}
On the aspx page, opened in the window there is a close button that performs the following client code:
function closePage()
{
var oWindow = GetRadWindow();
oWindow.argument = null;
oWindow.close();
}
The problem is that instead of the window closing it is completely reloading itself!
Any suggestions would be GREATLY appreciated.