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

Raddock position when pin

6 Answers 140 Views
Dock
This is a migrated thread and some comments may be shown as answers.
franchute
Top achievements
Rank 1
franchute asked on 15 Apr 2008, 05:56 PM
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.

6 Answers, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 16 Apr 2008, 02:50 PM
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
0
franchute
Top achievements
Rank 1
answered on 16 Apr 2008, 03:12 PM
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.


0
Sophy
Telerik team
answered on 18 Apr 2008, 08:05 AM
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
0
Accepted
franchute
Top achievements
Rank 1
answered on 18 Apr 2008, 07:19 PM
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


0
Jeff
Top achievements
Rank 1
answered on 05 Aug 2009, 06:03 PM
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.
0
Pero
Telerik team
answered on 11 Aug 2009, 07:46 AM
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.
Tags
Dock
Asked by
franchute
Top achievements
Rank 1
Answers by
Sophy
Telerik team
franchute
Top achievements
Rank 1
Jeff
Top achievements
Rank 1
Pero
Telerik team
Share this question
or