Hi! I'm using RadDock to built portal, with dynamically created docks. Docks has templated title bars, without any RadDock's commands. My template in title bar has one button, with javascript onclick handler, that looks like this:
alert(pDockID);
var dock = $find(pDockID);
alert(dock);
alert(dock.get_collapsed());
dock.set_collapsed(true);
pDockID - is known and correct client ID of dock.
Dock changes their collapsed property from false to true, but nothing happens on the screen (i.e. dock does not collapsing). Is there any reason to prevent collapsing?
Thanks!
alert(pDockID);
var dock = $find(pDockID);
alert(dock);
alert(dock.get_collapsed());
dock.set_collapsed(true);
pDockID - is known and correct client ID of dock.
Dock changes their collapsed property from false to true, but nothing happens on the screen (i.e. dock does not collapsing). Is there any reason to prevent collapsing?
Thanks!