Ribbon bar tooltip and xml

2 posts, 1 answers
  1. Roger
    Roger avatar
    3 posts
    Member since:
    Jun 2012

    Posted 24 Jul 2012 Link to this post

    Is there anyway to set the extended tooltips when building the ribbon from XML?

    Also is there an option to set the tooltips to not display?
  2. Answer
    Bozhidar avatar
    1180 posts

    Posted 27 Jul 2012 Link to this post

    Hello Roger,

    You can set the ToolTip attribute of an item in the XML and the RibbonBar will recognize it. Here's a sample XML that demonstrates this:
    <?xml version="1.0" encoding="utf-16"?>
        <Tab Text="Tab1">
            <Group Text="Group1" EnableLauncher="true">
                <Button Size="Medium" Text="Button1" ToolTip="This is a button" />

    If you want to prevent the tooltip from displaying, you can use the following js code:
    Telerik.Web.UI.RadRibbonBar.prototype._showToolTip = function() {};
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top