I am trying to implement the Telerik Rad Docking control.
I want to force it so that items can never be floating windows. They should always be docked.
We should be able to move them between docks, but if you drop it out of a dock zone, it should return back to it’s previous position automatically.
I’ve been looking at the PaneStateChange event and it’s OriginalSource property in the event args, but can’t find find a way to check if the Pane is over a dockable hotspot or not.
I’m not sure if the above event is actually fired both when it is first “picked up” and when it is dropped.
Sorry if my question seems a little vague.
Thanks.
I didn’t find an exact answer to what I was looking for.
However, we were saving the location of docked items, and just wrote some code to dock any floating windows to their nearest compass point before saving the layout configuration.