Hello,
In http://www.telerik.com/help/aspnet/window/RadWindowObjectClientSide.html :
//Set the OnClientClose dynamically. Useful for RadWindows created on the client.
function OpenWin()
{
var oWnd = radopen("Dialog.aspx", null);
oWnd.OnClientClose = function()
{
// Your code here
alert('Closed');
}
}
I tried this code but code inside function() is never called.
In http://www.telerik.com/help/aspnet/window/ClientSideModel.html :
I tried this code but radWindow.Name contains 'undefined'.
What is the problem with these 2 functions ?
Thanks
In http://www.telerik.com/help/aspnet/window/RadWindowObjectClientSide.html :
//Set the OnClientClose dynamically. Useful for RadWindows created on the client.
function OpenWin()
{
var oWnd = radopen("Dialog.aspx", null);
oWnd.OnClientClose = function()
{
// Your code here
alert('Closed');
}
}
I tried this code but code inside function() is never called.
In http://www.telerik.com/help/aspnet/window/ClientSideModel.html :
/* Called when a window is being closed. */
function OnClientClose(radWindow)
{
alert (radWindow.Name + " is being closed");
}
function OnClientClose(radWindow)
{
alert (radWindow.Name + " is being closed");
}
I tried this code but radWindow.Name contains 'undefined'.
What is the problem with these 2 functions ?
Thanks