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

Disabling animations on RadContextMenu sub-menus

2 Answers 228 Views
ContextMenu
This is a migrated thread and some comments may be shown as answers.
Jose
Top achievements
Rank 1
Jose asked on 04 Apr 2011, 08:21 PM
Is there a way to disable the slide animations when expanding sub-menus in a RadContextMenu?

Thanks,
Jose

2 Answers, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 07 Apr 2011, 08:43 AM
Hello Jose,

The AnimationManager is responsible for animations in RadControls. Please, try to disabled animations as follows:

<telerik:RadContextMenu x:Name="contextmenu" telerik:AnimationManager.IsAnimationEnabled="False" />

Alternatively, you could also try setting the AnimationSelector to null in the code-behind:

AnimationManager.SetAnimationSelector(this.contextmenu, null);


I hope this helps.

All the best,
Dani
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
0
Jose
Top achievements
Rank 1
answered on 07 Apr 2011, 04:17 PM
The first option didn't work for me but the second alternative (nulling the animation selector) is good enough.  Thanks!
Tags
ContextMenu
Asked by
Jose
Top achievements
Rank 1
Answers by
Dani
Telerik team
Jose
Top achievements
Rank 1
Share this question
or