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

4 posts, 0 answers
  1. Vikas Shirke
    Vikas Shirke avatar
    6 posts
    Member since:
    May 2010

    Posted 23 Aug 2011 Link to this post

    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?
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 24 Aug 2011 Link to this post

    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 >>

  3. Vikas Shirke
    Vikas Shirke avatar
    6 posts
    Member since:
    May 2010

    Posted 29 Aug 2011 Link to this post

    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;



  4. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 31 Aug 2011 Link to this post

    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 >>

Back to Top