Hello all,
I have a RadDock control inside a RadDockZone.
I also have a command that in its client side event I execute javascript that docks and undocks the RadDock from the RadDockZone according to the current RadDock.get_dockMode() method. Up untill now, everything works great.
When I undock the RadDock I want to position it in the middle of the screen so
I calculate the right top and left values.
The problem is, that it seems like RadDock.set_top() and RadDock.set_left() method don't work well.
I debugged the code, and indeed the methods change the values of the _left and _top vars of the RadDock client-side object, but the dock isn't positioned accordinaly on the screen!
I also checked the RadDock.get_element().offsetLeft/Top properties and the numbers there are completely different, and it seems that the RadDock is positioned with accordance to those values.
I also tried the RadDock.get_element().style.left/top option, but the results are the same.
Anyone has a clue?
Thanks.
I have a RadDock control inside a RadDockZone.
I also have a command that in its client side event I execute javascript that docks and undocks the RadDock from the RadDockZone according to the current RadDock.get_dockMode() method. Up untill now, everything works great.
When I undock the RadDock I want to position it in the middle of the screen so
I calculate the right top and left values.
The problem is, that it seems like RadDock.set_top() and RadDock.set_left() method don't work well.
I debugged the code, and indeed the methods change the values of the _left and _top vars of the RadDock client-side object, but the dock isn't positioned accordinaly on the screen!
I also checked the RadDock.get_element().offsetLeft/Top properties and the numbers there are completely different, and it seems that the RadDock is positioned with accordance to those values.
I also tried the RadDock.get_element().style.left/top option, but the results are the same.
Anyone has a clue?
Thanks.