I am attempting to prevent a RadDock from being dragged outside of a div containing three RadDockZones. The reason I am trying to do so is that I want RadDocks to be confined to a particular region on the page without being able to drag off that region.
The PortalSite demo shows that the current implementation doesn't prevent you from dragging RadDocks into infinity off the right and bottom hand of your page, allowing the user to scroll well beyond the page. If the dock could be confined to a div area then this could be prevented and could also be useful for other scenarios, though I would accept not being able to drag the docks infinitely off the page as Google IG does.
I assume confining the docks is a question of constantly evaluating the div's position on the OnClientDockPositionChanging event and if the area of the dock is outside the boundary of the current div's positioning, then we'd have to find a way to prevent the position change without exiting the drag, but this would likely greatly affect performance.
The PortalSite demo shows that the current implementation doesn't prevent you from dragging RadDocks into infinity off the right and bottom hand of your page, allowing the user to scroll well beyond the page. If the dock could be confined to a div area then this could be prevented and could also be useful for other scenarios, though I would accept not being able to drag the docks infinitely off the page as Google IG does.
I assume confining the docks is a question of constantly evaluating the div's position on the OnClientDockPositionChanging event and if the area of the dock is outside the boundary of the current div's positioning, then we'd have to find a way to prevent the position change without exiting the drag, but this would likely greatly affect performance.