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

Forums / General Discussions / How to avoid tooltips in the RadMenu

How to avoid tooltips in the RadMenu

13 posts, 0 answered
  1. Vincent
    Vincent avatar
    41 posts
    Registered:
    21 Sep 2007
    23 Dec 2010
    Link to this post
    I would like to know how can I disable the tooltips in the RadMenu.
    I have not found anything in the documentation nor the forums.
    Thank you
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    23 Dec 2010
    Link to this post
    Hello Vincent,

    When you bind the control, inside ItemDataBound you can set e.Item.Tooltip to an empty string. There is a property of the RadMenu control - Tooltip that you can also use.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Benjamin
    Benjamin avatar
    8 posts
    Registered:
    10 Apr 2009
    04 Mar 2011
    Link to this post
    I am not seeing this in the advanced setting of the default menu. Can you explain in detail how to disable the tooltip in SF4. Thanks.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    04 Mar 2011
    Link to this post
    Hello Benjamin,

    The Tooltip property is available for the RadMenu control. The property is defined inside RadDataBoundControl class. If you use RadMenu control the property is exposed in the control designer.
    Do you use the RadMenu control and how do you bind it?

    Regards,
    Ivan Dimitrov
    the Telerik team
  5. Benjamin
    Benjamin avatar
    8 posts
    Registered:
    10 Apr 2009
    04 Mar 2011
    Link to this post
    We are simply using the default navigation menu in SF4 which appears to use the radmenu control. I see "tooltip" in the advanced menu when I select edit but that simply replaces the tooltip that appears to draw from the page meta description. Is there a way to disable the tooltip all together on the default navigation menus?
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    17 Mar 2011
    Link to this post
    Hello Benjamin,

    Ok the property you see in the control designer comes from the base ASP.NET WebControl and actually this property is an empty string. Can you tell me which mode of the Navigation Control you use , so I can check how to disable the ToolTip. The problem here is that the Navigation Control is wrapper of a custom controls which wrap the RadControls. So if there is no public property of the root level wrappers the workaround will require to override the control behavior with a custom code.

    All the best,
    Ivan Dimitrov
    the Telerik team
  7. Benjamin
    Benjamin avatar
    8 posts
    Registered:
    10 Apr 2009
    25 Mar 2011
    Link to this post
    We are using the "horizontal with drop down menus" for our primary navigation and "vertical" for our secondary navigation. Unrelated - it would be nice to add in a feature for the "vertical" menu similar to the side panel bar where you could start the menu at the current level. Our work-around was to create templates for every level in our site which turned out to take an enourmous amount of time. I know I have seen this question asked in another forum post as well.

    Thank you, -Ben
  8. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    30 Mar 2011
    Link to this post
    Hi ,

    I checked the  two modes of the control under the latest release and there is no tooltip. I attached a short video. I will put your request for further consideration.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
  9. Benjamin
    Benjamin avatar
    8 posts
    Registered:
    10 Apr 2009
    30 Mar 2011
    Link to this post
    My guess is that you don't have a meta description in the page you created. We are developing this project in SP1 so I don't believe there is a difference between the versions.

    I have attached a screen shot to illustrated.

    Thanks, -Ben
  10. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    31 Mar 2011
    Link to this post
    Hi Benjamin,

    Ok I see what the problem is. The tooltip actually comes from the base controls -say RadMenu

    To alter the tooltip you should use a custom template for the NavigationControl and set the tootip to empty string or remove it.

    template
    <telerik:RadMenu runat="server" ID="RadMenu1"  ></telerik:RadMenu>

    code behind

    protected void Page_Load(object sender, EventArgs e)
            {
                RadMenu1.DataBind();
                this.RadMenu1.ItemDataBound +=new Telerik.Web.UI.RadMenuEventHandler(RadMenu1_ItemDataBound);
            }
            void RadMenu1_ItemDataBound(object sender, Telerik.Web.UI.RadMenuEventArgs e)
            {
                e.Item.ToolTip = "";
            }

    Kind regards,
    Ivan Dimitrov
    the Telerik team
  11. Magnus Lindeberg
    Magnus Lindeberg avatar
    17 posts
    Registered:
    02 Sep 2009
    05 Mar 2012
    Link to this post
    Hi Ivan
    We've experienced the same "bug" on several of our releases, the meta description shows up as a tooltip in the nagigation. We found this suggestion of workaround, but the question is (almost a year later) is there any plans for any fixes or options to disable the tooltips? Or is this the olny way to hide the meta description?

    Magnus Lindeberg, Tankbar
  12. Scott Rozman
    Scott Rozman avatar
    93 posts
    Registered:
    10 Oct 2012
    10 May 2012
    Link to this post
    I'll add myself to the list of people who would like to see the "feature" off by default.
    According to the Microsoft SEO Toolkit, a page descriptions should be between 25 and 150 characters, be human readable and contain lots of keywords.
    Human readable is about the only part of this which seem appropriate for the a tooltip on every single menu item!
  13. Scott Rozman
    Scott Rozman avatar
    93 posts
    Registered:
    10 Oct 2012
    21 May 2012
    Link to this post
    In case anyone is looking for RadTreeView version of the above code, this seems to be working for me.

    protected void Page_Load(object sender, EventArgs e)
            {
                siteMapControl_verticaltree.DataBind();
                this.siteMapControl_verticaltree.NodeDataBound += new Telerik.Web.UI.RadTreeViewEventHandler(siteMapControl_verticaltree_NodeDataBound);
            }
            void siteMapControl_verticaltree_NodeDataBound(object sender, Telerik.Web.UI.RadTreeNodeEventArgs e)
            {
                e.Node.ToolTip = "";
            }

13 posts, 0 answered