Ribbon bar tooltip and xml

2 posts, 1 answers
  1. Roger
    Roger avatar
    2 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
    Admin
    Bozhidar avatar
    1102 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"?>
    <RibbonBar>
        <Tab Text="Tab1">
            <Group Text="Group1" EnableLauncher="true">
                <Button Size="Medium" Text="Button1" ToolTip="This is a button" />
            </Group>
        </Tab>
    </RibbonBar>

    If you want to prevent the tooltip from displaying, you can use the following js code:
    Telerik.Web.UI.RadRibbonBar.prototype._showToolTip = function() {};
     
    Greetings,
    Bozhidar
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top