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

Is it possible to control RadMenu scrolling speed

2 Answers 53 Views
Menu
This is a migrated thread and some comments may be shown as answers.
lchesnais
Top achievements
Rank 1
lchesnais asked on 15 Jan 2009, 02:25 PM
Hello Community!

I'm using RadMenu scrolling feature (see Telerik Demo).

I wonder whether it is possible to control scrolling speed.
Does anybody know how to do it?

Thanks in advance.
 
BR, Laurent

2 Answers, 1 is accepted

Sort by
0
Accepted
Paul
Telerik team
answered on 15 Jan 2009, 02:55 PM
Hi lchesnais,

Please find below a sample code snippet that shows the needed approach for RadMenu for ASP.NET AJAX.

<form runat="server" id="mainForm" method="post">  
    <telerik:RadScriptManager ID="ScriptManager" runat="server" /> 
 
    <script type="text/javascript">  
    function pageLoad()  
    {  
        Telerik.Web.UI.ScrollerSpeed.Slow = 10;  
    }  
    </script> 
 
    <telerik:RadMenu ID="RadMenu1" runat="server">  
        <CollapseAnimation Duration="200" Type="OutQuint" /> 
        <Items> 
            <telerik:RadMenuItem runat="server" Text="Root RadMenuItem1">  
                <Items> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 1">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 2">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 3">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 4">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 5">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 6">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 7">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 8">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 9">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 10">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 11">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 12">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 13">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 14">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 15">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 16">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 17">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 18">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 19">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 20">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 21">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 22">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 23">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 24">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 25">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 26">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 27">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 28">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 29">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 30">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 31">  
                    </telerik:RadMenuItem> 
                </Items> 
                <GroupSettings Height="250px" /> 
            </telerik:RadMenuItem> 
        </Items> 
    </telerik:RadMenu> 
</form> 

Greetings,
Paul
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
lchesnais
Top achievements
Rank 1
answered on 15 Jan 2009, 04:29 PM
Hello Paul,

Thank you for your very quick response.
It works great.

BR, Laurent
Tags
Menu
Asked by
lchesnais
Top achievements
Rank 1
Answers by
Paul
Telerik team
lchesnais
Top achievements
Rank 1
Share this question
or