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

Telerik Docking: How to disable animation for pane when IsPinned=false

3 Answers 139 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vikas Shirke
Top achievements
Rank 1
Vikas Shirke asked on 23 Aug 2011, 03:09 PM
I am using Telerik Docking Control 2010.3.1314.35. I have set IsPinned=False in docking RadPane, but after loading it is showing animation and then hiding it. Is there any way I can disable this animation?

3 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 24 Aug 2011, 03:12 PM
Hi Vikas,

You can remove the animation like this:

public void DisableDockingAnimations()  
{  
     AnimationManager.SetAnimationSelector(dockingControl, null);  
}

Hope this helps.

Greetings,
Konstantina
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Vikas Shirke
Top achievements
Rank 1
answered on 29 Aug 2011, 06:33 AM
Hi,
Thanks for reply. I already tried using AnimationManager.SetAnimationSelector(dockingcontrol,null) but it didn't work :(

Let me give you some context: I am using telerik:RadDocking, telerik:RadPaneGroup, telerik:RadPane. I am getting opening and closing animation while loading my window on RadPane. This animation is really slow. :( So I want to remove it.
Currently I am using below code to suppress animation. So is their any other option available?
 AnimationManager.AnimationSpeedRatio = 10000;



0
Miroslav Nedyalkov
Telerik team
answered on 31 Aug 2011, 08:35 AM
Hi Vikas,

 The approach Konstantina suggested should work correctly. Could you please open a support ticket and send us a sample project the demonstrates this matter? This way we will be able to investigate what exactly goes wrong.

Best wishes,
Miroslav Nedyalkov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
General Discussions
Asked by
Vikas Shirke
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Vikas Shirke
Top achievements
Rank 1
Miroslav Nedyalkov
Telerik team
Share this question
or