do you know how to hook the PropertyChanged('location') event of the control?
I have tried to insert an handle for almost every function in the source code ( see..\DragPanel\FloatingBehaviour.js) but the only handle that hooks the event after a control displacement is "drop"
Al the other handles works only the first time end next do nothing.
The drop event works fine, but all the get_location() calls after the first one return location.x and location.y is Undefined. So, I think the problem is to understand what is the right function to call to obtain the control location after
a drop (if there is one).
Walter Zocca...
Member
6 Points
8 Posts
Re: DragPanelExtender drop event problem
Apr 18, 2007 08:26 AM|LINK
I thank you very much for the suggestion.
do you know how to hook the PropertyChanged('location') event of the control?
I have tried to insert an handle for almost every function in the source code ( see..\DragPanel\FloatingBehaviour.js) but the only handle that hooks the event after a control displacement is "drop"
Al the other handles works only the first time end next do nothing.
The drop event works fine, but all the get_location() calls after the first one return location.x and location.y is Undefined. So, I think the problem is to understand what is the right function to call to obtain the control location after a drop (if there is one).
Walter