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

disable animation for menu

3 Answers 118 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Robert Stoppel
Top achievements
Rank 1
Iron
Robert Stoppel asked on 24 May 2013, 01:21 PM
how can I do this for menu below

  <telerik:RadMenu ID="RadMenu1"  DataNavigateUrlField="m_url"  
                  DataTextField="m_text"  DataFieldID="m_id" DataFieldParentID="p_mid" 
                  DataValueField="m_value" Runat="server" 
                  EnableEmbeddedSkins="false" Skin="Green">                  
            </telerik:RadMenu>

3 Answers, 1 is accepted

Sort by
0
Ivan Zhekov
Telerik team
answered on 27 May 2013, 01:14 PM
Hello.

As described in the help article about animations here -- http://www.telerik.com/help/aspnet-ajax/menu-appearance-animations.html -- all you need to do is set the properties either inline or with child elements e.g.:

Inline
<telerik:RadMenu runat="server" ExpandAnimation-Type="None" CollapseAnimation-Type="None"></telerik:RadMenu>

As child elements
<telerik:RadMenu ID="RadMenu1" runat="server">
    <ExpandAnimation Type="OutQuart" Duration="300" />
    <CollapseAnimation Type="OutQuint" Duration="200" />
</telerik:RadMenu>


Regards,
Ivan Zhekov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Robert Stoppel
Top achievements
Rank 1
Iron
answered on 28 May 2013, 12:34 PM
can I put duration "0" ? or do I have to keep it in "300" and "200" 
0
Ivan Zhekov
Telerik team
answered on 29 May 2013, 06:09 AM
Hi, Darryl.

Of course you can. I am correcting my snippet, as I pasted the wrong piece of code:

<telerik:RadMenu ID="RadMenu1" runat="server">
    <ExpandAnimation Type="None" />
    <CollapseAnimation Type="None" />
</telerik:RadMenu>
 
<telerik:RadMenu ID="RadMenu1" runat="server">
    <ExpandAnimation Duration="0" />
    <CollapseAnimation Duration="0" />
</telerik:RadMenu>

You can either set the duration to 0 or the type to None.

Regards,
Ivan Zhekov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Menu
Asked by
Robert Stoppel
Top achievements
Rank 1
Iron
Answers by
Ivan Zhekov
Telerik team
Robert Stoppel
Top achievements
Rank 1
Iron
Share this question
or