Hi,
How do I get the new height of the dock pane when user expands or collapses it? I tried the following methods but none of them work.Where can I find documentation for RadDock client API? function OnClientCommand(sender, eventArgs)
{
if (eventArgs.Command.get_name() == "ExpandCollapse")
{
sender.get_Height(); // return null.
eventArgs.Command.get_RadDock().get_Height(); // return null.
eventArgs.Command.get_RadDock().get_NewHeight(); // object doesn't support this method.
eventArgs.get_OldHeight(); // object doesn't support this method.
eventArgs.get_NewHeight(); // object doesn't support this method
}
}
Thanks.
Kian
How do I get the new height of the dock pane when user expands or collapses it? I tried the following methods but none of them work.Where can I find documentation for RadDock client API? function OnClientCommand(sender, eventArgs)
{
if (eventArgs.Command.get_name() == "ExpandCollapse")
{
sender.get_Height(); // return null.
eventArgs.Command.get_RadDock().get_Height(); // return null.
eventArgs.Command.get_RadDock().get_NewHeight(); // object doesn't support this method.
eventArgs.get_OldHeight(); // object doesn't support this method.
eventArgs.get_NewHeight(); // object doesn't support this method
}
}
Thanks.
Kian