Hi,
I've got an issue that I have been trying to lock down for about a week now with no success and could really do with some input.
Basically I have a panel that i have extended with the Drag Panel Extender, when I try to drag the panel it jumps down and to the right! I can still drag the panel around but it's offset from the mouse position. Also simply clicking on the Drag Handle caused the whole panel to jupm down and to the right, each click causes is to jump again.
I have managed to trace this issue down to the way I have my project set up.
I am using Master Pages and have a content placeholder that is offset from the top and left corners of my page as I have headers and a panel on the left that I want on every page. I have noted through painstakingly measuring using a pixel ruler that the jump the panel takes is exactly the offset of the content placeholder from the top left of the browser rendering area.
To clarify: the top of my placeholer is 150px and the left is 200px.
When i click on theDrag Handle the panel jumps 150px down and 200px right from the mouse, I have looked through the javascript etc in the control toolkit and I have not been able to find what I'm looking for.
I found the StartDrag routine and there is ome stuff in there that sets the mouseposition and then sets the start position for the drag to be that same position but while I'm sure this is wrong, I as unable to successfully correct anything in here to stop the behaviour.
I think that the top left of the drag panel is being set relative to the browser render surface when the panel itself is relative to the content placeholder so you get this offset issue.
I can get a successful drag panel working when I move it to the master page but as I am trying to create a custom user control with a popup dialog that can be dragged around the page this is not a good solution.
i need ideas to solve this offsetting problem other than moving the panel ot of my cotrol and onto the master page as this will stop me from releasing a control that users can drag onto a page and just use, popup draggable dialog and all...