Hi,
I am trying to stop the default mouse over tool tip for an appointment appearing over the top of the right click menu (see attached).
I have tried changing the z-index of the right click menu but this has no made no difference, is there any way to force the tooltip to appear under the right click menu?
Thanks
Gavin.
13 Answers, 1 is accepted
The following online demo shows how to hide the tooltip when the appointment context menu is shown. To be more precise, to achieve the above functionality you just need to subscribe to the
OnClientAppointmentContextMenu
event of RadScheduler and hide the tooptip before the appointment context menu is shown. Here is the link to the online demo: http://demos.telerik.com/aspnet-ajax/scheduler/examples/radtooltip/defaultcs.aspx.
I hope this will help.
Regards,
Ivana
the Telerik team
Hi Ivana,
Thanks for this, I can see how this would work for a Telerik tooltip (as per the demo) but I am having this issue when the browser generated tooltip appears.
cheers
Gavin.
What happens when you set e.Appointment.Tooltip = String.Empty; in AppointmentDataBound server event of RadScheduler?
Regards,
Ivana
the Telerik team
I have a same problem. i don't hide tool tip when rendering rad menu.I need to show tool tip behind of the rad menu.
can i set any style for that problem?????
Let me know solution
Thanks in advance,
Prasanna
You have to change the default z-index. See for reference the following help article:
http://www.telerik.com/help/aspnet-ajax/controlling-absolute-positioning-with-zindex.html
Regards,
Helen
the Telerik team
Am not using Rad Tooltip control. Am using set_toolTip() of radscheduler to set Tool tip for my appointments.
Now How to set z-index for this tool tip.
I can't change over into Rad Tool tip control because i had set styles according to this.
Please let me know the possible solution..............
Thanks,
Prasanna
When you use the "set_toolTip()" method, it shows the default browser tooltip and there is no way to show it behind the RadContextMenu.
Greetings,
Helen
the Telerik team
I was unable to get value in var tooltip = Telerik.Web.UI.RadToolTip.getCurrent();
as I get an error -- 'Telerik.Web.UI.RadToolTip' is undefined
so I use var _Mytooltip = eventArgs._appointment.get_toolTip(); instead to my knowledge best possible near function.
but since I didn't knew what I will be getting in 'var tooltip' I get another error on using .hide() as '_Mytooltip.hide()' does NOT support the property.
function
appointmentContextMenu(sender, eventArgs) {
hideActiveToolTip(eventArgs);
}
function
hideActiveToolTip(eventArgs) {
var
_Mytooltip = eventArgs._appointment.get_toolTip();
_Mytooltip.hide();
//hide() does not support the property
}
also, I am making a tooltip in code behind from the method shown below
protected
void
RadScheduler1_AppointmentDataBound(
object
sender, SchedulerEventArgs e)
{
String ToolTipText =
"My Tool Tip Text."
;
e.Appointment.ToolTip = ToolTipText;
}
As my colleague Elena noted, it is not possible to place the tooltip below the context menu. You can try removing the tooltip though in the
appointmentContextMenu
event like this:appointment.set_toolTip(
""
);
All the best,
Genady Sergeev
the Telerik team
I need clarification e.Appointment.tooltip property support HTML tag?????
I need to show tooltip like below,
Student: Prasanna
I tried this code e.Appointment.tooltip="<b> Student : </b> Prasanna" but not working....
Its possible???????
Thanks,
Prasanna
Here you may find an application scenario of our RadScheduler and RadToolTip controls that gives you the ability to customize your appointment tool tip. You are absolutely able to use HTML tags in your tool tip template and it will be rendered as expected.
Kind regards,
Boyan Dimitrov
the Telerik team
Hello Admin,
I am using kendo ui scheduler and facing problem with alignment of tooltip and context menu, as they both get overlap on each other i want only one of them to be active at a time, but my tooltip overlap on context menu, also the poistion of context menu varies at the top and bottom of the shceduler. see attached image.