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

Menu animation bug

3 Answers 95 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Sergey
Top achievements
Rank 1
Sergey asked on 23 Sep 2011, 07:09 AM
Hi

RadMenu has animation bug. When mouse move throw top level menu line, the dropdown menu first appear, than disaper and then animated scrolldown. There are some blicking effect.

And now we are turn off animation.

<Window x:Class="MenuSample.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <telerik:RadMenu VerticalAlignment="Top" x:Name="mainMenu">
            <telerik:RadMenuItem Header="File">
                <telerik:RadMenuItem Header="Menu1"/>
                <telerik:RadMenuItem Header="Menu2"/>
                <telerik:RadMenuItem Header="Menu3"/>
            </telerik:RadMenuItem>
            <telerik:RadMenuItem Header="View">
                <telerik:RadMenuItem Header="Menu1"/>
                <telerik:RadMenuItem Header="Menu2"/>
                <telerik:RadMenuItem Header="Menu3"/>
            </telerik:RadMenuItem>
            <telerik:RadMenuItem Header="Help">
                <telerik:RadMenuItem Header="Menu1"/>
            </telerik:RadMenuItem>
            <telerik:RadMenuItem Header="Help2">
                <telerik:RadMenuItem Header="Menu1"/>
                <telerik:RadMenuItem Header="Menu2"/>
            </telerik:RadMenuItem>
            <telerik:RadMenuItem Header="Help3">
                <telerik:RadMenuItem Header="Menu1"/>
                <telerik:RadMenuItem Header="Menu2"/>
                <telerik:RadMenuItem Header="Menu3"/>
            </telerik:RadMenuItem>
        </telerik:RadMenu>
    </Grid>
</Window>



3 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 28 Sep 2011, 10:31 AM
Hello Sergey,

You can remove the animations like this:
<Window x:Class="WpfApplication1.MainWindow"
        xmlns:animation="clr-namespace:Telerik.Windows.Controls.Animation;assembly=Telerik.Windows.Controls"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <telerik:RadMenu VerticalAlignment="Top" x:Name="mainMenu" animation:AnimationManager.AnimationSelector="{x:Null}">
            <telerik:RadMenuItem Header="File">
                <telerik:RadMenuItem Header="Menu1"/>
                <telerik:RadMenuItem Header="Menu2"/>
                <telerik:RadMenuItem Header="Menu3"/>
            </telerik:RadMenuItem>
            <telerik:RadMenuItem Header="View">
                <telerik:RadMenuItem Header="Menu1"/>
                <telerik:RadMenuItem Header="Menu2"/>
                <telerik:RadMenuItem Header="Menu3"/>
            </telerik:RadMenuItem>
            <telerik:RadMenuItem Header="Help">
                <telerik:RadMenuItem Header="Menu1"/>
            </telerik:RadMenuItem>
            <telerik:RadMenuItem Header="Help2">
                <telerik:RadMenuItem Header="Menu1"/>
                <telerik:RadMenuItem Header="Menu2"/>
            </telerik:RadMenuItem>
            <telerik:RadMenuItem Header="Help3">
                <telerik:RadMenuItem Header="Menu1"/>
                <telerik:RadMenuItem Header="Menu2"/>
                <telerik:RadMenuItem Header="Menu3"/>
            </telerik:RadMenuItem>
        </telerik:RadMenu>
    </Grid>
</Window>


Best wishes,
Pana
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Charles
Top achievements
Rank 1
answered on 29 Jul 2012, 04:39 PM
Rather than disabling animation, is there any way to fix or workaround this bug?

The menu loads with all items enabled, and then closes, and then re-opens with enabled state as expected due to command bindings.

I've had to disable animation for now, but would rather not.
0
Rosen Vladimirov
Telerik team
answered on 31 Jul 2012, 12:18 PM
Hi,

Can you give us more information how to reproduce the issue:
- Is it WPF or Silverlight application?
- How many menu items do you have?
- Which version of  RadControls are you using? Can you reproduce the problem with our latest release?
- How do you set the command bindings?

This information is needed to provide quality and on time help. Please share the details and if possible a sample project.

Thanks in advance for your help and understanding!

Regards,
Rosen Vladimirov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Menu
Asked by
Sergey
Top achievements
Rank 1
Answers by
Pana
Telerik team
Charles
Top achievements
Rank 1
Rosen Vladimirov
Telerik team
Share this question
or