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

Menu Scroll Speed?

1 Answer 29 Views
Menu
This is a migrated thread and some comments may be shown as answers.
MikeK
Top achievements
Rank 1
MikeK asked on 25 Mar 2009, 12:39 PM
Is there a way to set the menu scroll speed so it scrolls twice as fast as it does normally?

I'm using a menu as a query selector for my end users. Each menu item covers a search topic. The popout panel is databound to a query that displays a checkbox list. The users can check whatever entries they want in the query and then move to the next menu item. When done they click the button that builds the strings of selections and passes this to a stored procedure that populates the grids.

Example:

County
   - Item 1 (select)
   - Item 2 (select)
   - etc.

Classification
   - Item A (select)
   - Item B (select)
   - etc.

The county panel works fine since I was able to turn on 2 columns and everything displays on one panel. The classification has long text, so I can't turn on more than 1 column. The list won't fit onto a single screen and is generally about 8 times longer than one screen. The standard scroll speed is slow. If you click on the menu arrow it speeds up but is still slow. Being able to make it scroll faster would be really helpful.

If there is no property to do so, could this be added in the future?

1 Answer, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 25 Mar 2009, 01:38 PM
Hello MikeK,

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> 


Regards,
Paul
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Menu
Asked by
MikeK
Top achievements
Rank 1
Answers by
Paul
Telerik team
Share this question
or