I'm trying to handle a RadDock close command client side so that I can set some other booleans in javascript, but I can't figure it out. I tried doing:
then having a javascript function
but that wasn't firing (I put an alert() in there that wasn't showing).
I also tried using
but that didn't fire it either. The javascript function is declared globally. Any ideas?
<
tel:DockCommand
OnClientCommand
=
"CloseEmail"
/>
then having a javascript function
function
CloseEmail(sender, eventArgs) {
if
(sender.get_dockZoneID() !=
""
) {
showingEmailDetail =
false
;
sender.set_closed(
true
);
}
}
but that wasn't firing (I put an alert() in there that wasn't showing).
I also tried using
<
tel:DockCloseCommand
OnClientCommand
=
"CloseEmail"
/>
but that didn't fire it either. The javascript function is declared globally. Any ideas?