Raddock position when pin

7 posts, 1 answers
  1. franchute
    franchute avatar
    28 posts
    Member since:
    Jan 2008

    Posted 15 Apr 2008 Link to this post

    Hi guys,

    I have the following issue when using a raddock control. I put the raddock control at the bottom of the page within a raddockzone. Once I load the page, I pick the control and move it to the top of the page. The problem appear when I pin the control, I don't know why the control is returning to the original location (at the bottom).
    Something similar happens when I have scrolled in the  "PinupUnpin + close" example (within "commands" example), If I scroll down and then I try to pin the control, it moves down the same "distance" I have scrolled
    Does anyone knows what's going on here ?

    Thanks in advance,

    François.
  2. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 16 Apr 2008 Link to this post

    Hello François,

    By design when the RadDock control is pinned its position attribute is automatically set to fixed while when the dock is not docked in a zone and it is not pinned its position is set to absolute. The position:fixed 
    is basically the same as position:absolute except that when the user scrolls the page, the element does not scroll with it, it just says exactly where it was. That is why, the behavior you observe is the expected behavior of the control by design.

    If you have other questions, do contact us again.

    All the best,
    Sophy
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. franchute
    franchute avatar
    28 posts
    Member since:
    Jan 2008

    Posted 16 Apr 2008 Link to this post

    Thanks for you answer but I don't want this behaviour. I mean, if I pin the control then I want it to "come with me" while scrolling. The control is doing this but after a "little jump" from the last position. This jump is appearing if, before I pin, I scroll down the page.
    Is there any way to solve this ?
    You can reproduce this issue by loading the "Commands" functionality in the telerik examples. Try this:
    1 - Load the example.
    2 - Pin the "PinUnpin + Close" raddock. ... so far, so good.

    Now try this.
    1 - Load the example
    2 - scroll down some pixels
    3 - 2 - Pin the "PinUnpin + Close" raddock

    You'll see it.

    Thanks.


  4. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 18 Apr 2008 Link to this post

    Hi François,

    Thank you for the detailed explanation and the provided steps to reproduce the problem.

    I was able to reproduce the issue with the provided details. The problem has already been researched and fixed but it is still in process of testing. The fix will be available for SP1, Q1 2008.

    Best regards,
    Sophy
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Answer
    franchute
    franchute avatar
    28 posts
    Member since:
    Jan 2008

    Posted 18 Apr 2008 Link to this post

    Okay, thank you for your answer.
    I have added some javascript in my page in order to temporary fix this issue.

    Thanks again,

    François


  6. Jeff
    Jeff avatar
    10 posts
    Member since:
    Mar 2009

    Posted 05 Aug 2009 Link to this post

    I am getting this same problem. And I am using the 2009 version of telerik. Was this problem fixed?

    If you created temporary javascript to fix the problem, would you be able to help me out with that?

    THank you.
  7. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 11 Aug 2009 Link to this post

    Hello Jeff,

    This problem is fixed and if you are using any of our version released this year you should not have any problems. You can also download the latest version of our control suite, and try to reproduce the issue in the "Commands" example for RadDock.
     
    If you are still getting this problem, could you please open a new support ticket and send us a sample running project (with detailed steps to follow) where the issue can be observed? We need to have a better understanding of your scenario in order to offer you an appropriate solution.  


    Best wishes,
    Pero
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top