Hi I have a RadCalendar and I want to fire a tooltip with the onDateClick Event of RadCalendar.
The problem is that when I click on a date of RadCalendar the tootip is being shown only for 2 seconds.
Any ideas ??
Here is my code
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
function Calendar_OnDateClick(element) {
var tooltip = $find("<%=RadToolTip1.ClientID%>");
tooltip.show();
}
</script>
</telerik:RadCodeBlock>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<telerik:RadCalendar ID="RadCalendar1" runat="server"
Skin="Web20" AutoPostBack="true">
<ClientEvents OnDateClick="Calendar_OnDateClick" />
</telerik:RadCalendar>
<telerik:RadToolTip ID="RadToolTip1" runat="server" Font-Bold="true" Font-Size="Medium"
ShowEvent="FromCode" ForeColor="DarkGreen" Height="100px" AutoTooltipify="false">
</telerik:RadToolTip>
</form>
</body>
</html>
The problem is that when I click on a date of RadCalendar the tootip is being shown only for 2 seconds.
Any ideas ??
Here is my code
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
function Calendar_OnDateClick(element) {
var tooltip = $find("<%=RadToolTip1.ClientID%>");
tooltip.show();
}
</script>
</telerik:RadCodeBlock>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<telerik:RadCalendar ID="RadCalendar1" runat="server"
Skin="Web20" AutoPostBack="true">
<ClientEvents OnDateClick="Calendar_OnDateClick" />
</telerik:RadCalendar>
<telerik:RadToolTip ID="RadToolTip1" runat="server" Font-Bold="true" Font-Size="Medium"
ShowEvent="FromCode" ForeColor="DarkGreen" Height="100px" AutoTooltipify="false">
</telerik:RadToolTip>
</form>
</body>
</html>