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

Forums / Bugs & Issues / Disable animations in the navigation

Disable animations in the navigation

7 posts, 1 answered
  1. Peter
    Peter avatar
    30 posts
    Registered:
    08 Dec 2010
    12 Jul 2011
    Link to this post
    Hi there, I have a navigation menu thats currently placed in my templates and I need to disable the animation. I'm only a front end developer (html css javascript) so in laymens terms if you dont mind!

    Thanks!

    Pete
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    12 Jul 2011
    Link to this post
    Hello Peter,

    Please take a look at this post

    Best wishes,
    Ivan Dimitrov
    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. Peter
    Peter avatar
    30 posts
    Registered:
    08 Dec 2010
    13 Jul 2011
    Link to this post
    Thanks Ivan,

    Forgive my ignorance but what does it mean to make a custom template? Is that the same as making a custom control in Sitefinity 3.7? If so is there a configuration file I need to create or do I simply point to it?

    Thanks for your help
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    13 Jul 2011
    Link to this post
    Hi Peter,

    You should add an ascx which has a BaseDataBoundControl in this that will be populated internally by the navigation control.  Then you can manipulate this control from your template.

    Greetings,
    Ivan Dimitrov
    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. Peter
    Peter avatar
    30 posts
    Registered:
    08 Dec 2010
    13 Jul 2011
    Link to this post
    Sorry Ivan,

    As I mentioned earlier I am only a front-end developer. You're going to have to dumb that down for me! 
  6. Jacques
    Jacques avatar
    427 posts
    Registered:
    28 Jun 2007
    13 Jul 2011
    Link to this post
    HI Peter,

    Here's the process for customizing the menu control in Sitefinity 4.x.

    1. Create a folder in the root of your project called "Customized" or any other name that suites your requirements
    2. Create a sub-folder in the Customized folder called "Controls"
    3. Create a new Web User Control in this folder called CustomMenu.ascx
    4. Register the Telerik namespace at the top of the page as shown in line 2 below
    1.<%@ Control Language="VB" AutoEventWireup="false" CodeFile="CustomMenu.ascx.vb" Inherits="Customized_Controls_CustomMenu" %>
    2.<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    5. Add the telerik menu to the control as shown in line 3 and 4 below
    1.<%@ Control Language="VB" AutoEventWireup="false" CodeFile="CustomMenu.ascx.vb" Inherits="Customized_Controls_CustomMenu" %>
    2.<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    3.<telerik:RadMenu ID="Menu" runat="server" Skin="Vista" ExpandDelay="0" ExpandAnimation-Duration="0" ExpandAnimation-Type="None"
    4.    CollapseAnimation-Duration="0" CollapseAnimation-Type="None" CollapseDelay="0"></telerik:RadMenu>
    6. In Sitefinity admin drop a normal menu control onto a template or page
    7. Click edit to get to the menu control's properties
    8. Click advanced and scroll down to the CustomLayoutTemplatePath field
    9. Enter the following value for this field: /Customized/Controls/CustomMenu.ascx

    I think that's about it.

    Regards,
    Jacques
    Answered
  7. Peter
    Peter avatar
    30 posts
    Registered:
    08 Dec 2010
    14 Jul 2011
    Link to this post
    Thanks Jacques that's precisely the answer I was looking for! 
7 posts, 1 answered