+1-888-365-2779
Try Now
More in this section

Forums / Designing & Styling / How to adjust or remove delay from menu expand?

How to adjust or remove delay from menu expand?

6 posts, 0 answered
  1. Keith
    Keith avatar
    67 posts
    Registered:
    13 Sep 2010
    21 Mar 2013
    Link to this post
    I placed a Navigation widget on my template and am using the "Horizontal with drop down menus" option. I would like to remove the delay that occurs before the drop down appears so that when I mouse over a menu item with one or more children, the drop down appears instantly.
    I am using Sitefinity 5.4
  2. Jen Peleva
    Jen Peleva avatar
    568 posts
    Registered:
    10 Nov 2016
    26 Mar 2013
    Link to this post
    Hello Keith,

    Thank you for using our services.

    The only way to modify the behavior of the navigation would be with a template for it. You've mentioned modifying the delay of on mouse-over event. In order to do that, you would have to set the ExpandDelay property to your navigation. Here's some more information about that. RadControls page is also the best source for samples and detailed information on the client-side API of all controls, so you can always refer to it when creating a custom navigation. I have prepared a sample custom template for you:

    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="RadMenuDelay.ascx.cs" Inherits="SitefinityWebApp.RadMenuDelay" %>
    <telerik:RadMenu id="RM" runat="server"
                               ExpandDelay="1000">
     
    </telerik:RadMenu>
    Add this to an ascx control and enter the relative path to this control in the Desing settings of the navigation - Custom template path.

    All the best,

    Jen Peleva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Keith
    Keith avatar
    67 posts
    Registered:
    13 Sep 2010
    26 Mar 2013 in reply to Jen Peleva
    Link to this post
    Thanks Jen, I will give this a try.
    By the way the information link you gave me above is broken.

    ~K
  4. Jen Peleva
    Jen Peleva avatar
    568 posts
    Registered:
    10 Nov 2016
    26 Mar 2013
    Link to this post
    Hi Keith,

     Here's the correct link:

    http://www.telerik.com/help/aspnet-ajax/p_telerik_web_ui_radmenu_expanddelay.html

    Greetings,
    Jen Peleva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Keith
    Keith avatar
    67 posts
    Registered:
    13 Sep 2010
    27 Mar 2013 in reply to Jen Peleva
    Link to this post
    Thank you Jen, your suggestion worked perfectly.
  6. Ivan
    Ivan avatar
    3 posts
    Registered:
    09 Sep 2011
    26 Oct 2015
    Link to this post

    Here is my website: http://www.smartercommerce.net/.

    Probably I'm experiencing the same behavior, but I see the code render for that html navigation drop down is different. Can I have a solution by implement some fix to the widget code?

     Thanks in advance.

6 posts, 0 answered