Attach "OnClientCommand" to RadWindow/RadWindowManager and check for the CommandName in order to get the minimize event.
JavaScript:
<script type="text/javascript">
function OnClientCommand(sender, eventArgs)
{
if(eventArgs.get_commandName() == 'Minimize')
{
alert('Widnow minimized');
sender.hide(); // code to hide window
}
}
</script>
-Shinu.
0
Georgi Tunev
Telerik team
answered on 27 Jul 2009, 05:58 AM
Hello iomega,
I would also suggest to cancel the minimize command with set_cancel(true) before hiding the window in order to avoid problems with the logic at a later stage.