Everything was working fine. We've upgraded to 2009.1.527.35 and it broke the close command on docs.
DockCloseCommand objDockCloseCommand = new DockCloseCommand();
objDockCloseCommand.OnClientCommand =
"dockClose_Click";
objDockCloseCommand.Text =
"Close";
currentDock.Commands.Add(objDockCloseCommand);
function dockClose_Click() {
//this never gets executed
alert(
'test');
}
Funny part about it is that if dockClose_Click does not exist I get an error when page loads.
Please help, this is urgent.