This is a migrated thread and some comments may be shown as answers.

Ribbon bar tooltip and xml

1 Answer 80 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Roger
Top achievements
Rank 1
Roger asked on 24 Jul 2012, 10:39 PM
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?

1 Answer, 1 is accepted

Sort by
0
Accepted
Bozhidar
Telerik team
answered on 27 Jul 2012, 09:17 AM
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.
Tags
RibbonBar
Asked by
Roger
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or