Hi,
I have problem with raddock close command confirm. In code I have
dock.OnClientCommand = "dockClose_Click";
dock.Commands.Add(new DockCloseCommand());
and in JS
function dockClose_Click(dock, args)
{
args.set_cancel(true);
alert('aaa');
}
But this doesnt work, alert shows up, but before I can click Ok on it raddock is already closed.
I have problem with raddock close command confirm. In code I have
dock.OnClientCommand = "dockClose_Click";
dock.Commands.Add(new DockCloseCommand());
and in JS
function dockClose_Click(dock, args)
{
args.set_cancel(true);
alert('aaa');
}
But this doesnt work, alert shows up, but before I can click Ok on it raddock is already closed.