DockPinUnpinCommand & Dock Position Problems

2 posts, 0 answers
  1. luca bongioanni
    luca bongioanni avatar
    16 posts
    Member since:
    May 2007

    Posted 22 May 2007 Link to this post

    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
  2. Petya
    Admin
    Petya avatar
    869 posts

    Posted 22 May 2007 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top