This is a migrated thread and some comments may be shown as answers.

DockPinUnpinCommand & Dock Position Problems

1 Answer 85 Views
Dock
This is a migrated thread and some comments may be shown as answers.
luca bongioanni
Top achievements
Rank 1
luca bongioanni asked on 22 May 2007, 12:57 PM
Hi telerik,

i've 2 problem with RadDock Object,

1) in I.E. 6.0 when i move the RadDock in a new position and i click on the DockPinUpPin command the RadDock return in a original position.
But this feature work correctly in Firefox and in I.E. 7.0.

2) I would like to know the position of the RadDock Object when i click on the DockCommand.
How can i do that?

Thanks in advice

1 Answer, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 22 May 2007, 02:07 PM
Hello,

1. We are aware of this problem in IE6. We did try our best to fix it for today, however other issues came up. We will do our best to fix it for some of our next updates of the control.

2. You can use the following approach to get the position of RadDock client-side:

<script type="text/javascript">
    function GetLocation()
    {
        var dock = $find('<%= Raddock1.ClientID%>');
        var docklocation = Sys.UI.DomElement.getLocation(dock.get_element());
        alert(docklocation.x + ", " + docklocation.y);
    }
    </script>


Sincerely yours,
Petya
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
luca bongioanni
Top achievements
Rank 1
Answers by
Petya
Telerik team
Share this question
or