Disabling top level menu animation

4 posts, 1 answers
  1. James
    James avatar
    136 posts
    Member since:
    Nov 2008

    Posted 24 Apr 2010 Link to this post

    Hello,

    Can you please recommend the best way to disable the default animation - I just want the top level menu to appear and dissappear instantly.

    I have looked at http://www.telerik.com/help/silverlight/radmenu-features-animation.html but there is no mention of disabling animation. I have tried setting SpeedRatio to zero, but this had no affect, then I tried removing the Animation Selector from the RadMenu template, but the default animation still executes.

    Help appreciated,

    James.
  2. James
    James avatar
    136 posts
    Member since:
    Nov 2008

    Posted 24 Apr 2010 Link to this post

    Actually, the default animation has gone but there is still a fade in effect when a menu is opened - that is what I'm trying to disable.

    There is no issue with closing a menu, a fade out effect animation does not start, so no problems there.

    Any ideas?

    James.
  3. DevCraft banner
  4. Answer
    Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 28 Apr 2010 Link to this post

    Hello James,

    What you need to do is to disable the global animation of the control. To achieve it use the following property in your constructor:

    AnimationManager.IsGlobalAnimationEnabled = false;

    Regards,
    Kaloyan
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  5. James
    James avatar
    136 posts
    Member since:
    Nov 2008

    Posted 28 Apr 2010 Link to this post

    Thanks that worked.
Back to Top