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

How to remove all tooltips

1 Answer 54 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Rune
Top achievements
Rank 2
Rune asked on 19 Jan 2010, 03:29 PM
 How do I remove all tooltips from the calendar? I have found the following properties. But cannot find the one to remove tooltip from coloumn headers. (Monday, thuesday etc.)

ShowDayCellToolTips
="false"
FastNavigationNextToolTip=""
FastNavigationPrevToolTip=""
NavigationNextToolTip=""
NavigationPrevToolTip=""

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 19 Jan 2010, 03:46 PM
Hello Rune,

There is no property to control these tooltips. Please remove them programmatically on the client:

<%@ Page Language="C#" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 
<head id="Head1" runat="server">
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>RadControls</title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
 
<telerik:RadCalendar ID="RadCalendar1" runat="server" ShowDayCellToolTips="false">
    <ClientEvents OnLoad="RemoveToolTips" />
</telerik:RadCalendar>
 
<script type="text/javascript">
 
function RemoveToolTips(sender, args)
{
    var colHeaders = sender.get_element().getElementsByTagName("TH");
    for (var j = 0; j < colHeaders.length; j++)
    {
        if (colHeaders[j].title && colHeaders[j].title != "")
            colHeaders[j].title = "";
    }
}
 
</script>
 
</form>
</body>
</html>


Greetings,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Calendar
Asked by
Rune
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Share this question
or