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

Appointment tooltip appearing above right click menu

13 Answers 464 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Gavin
Top achievements
Rank 1
Gavin asked on 13 Aug 2012, 01:31 AM

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

Sort by
0
Ivana
Telerik team
answered on 14 Aug 2012, 12:39 PM
Hi Gavin,

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
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.
0
Gavin
Top achievements
Rank 1
answered on 14 Aug 2012, 11:02 PM

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.

0
Ivana
Telerik team
answered on 15 Aug 2012, 11:13 AM
Hi Gavin,

What happens when you set e.Appointment.Tooltip = String.Empty; in AppointmentDataBound server event of RadScheduler?

Regards,
Ivana
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.
0
Prasanna
Top achievements
Rank 1
answered on 27 Dec 2012, 08:18 AM
Hi Ivana,
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
0
Helen
Telerik team
answered on 28 Dec 2012, 11:04 AM
Hello,

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
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.
0
Prasanna
Top achievements
Rank 1
answered on 28 Dec 2012, 11:15 AM
Hi,

        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
0
Helen
Telerik team
answered on 02 Jan 2013, 11:56 AM
Hello 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
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.
0
Himanshu
Top achievements
Rank 1
answered on 06 Mar 2013, 06:53 AM
Hi, 
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;
}
0
Genady Sergeev
Telerik team
answered on 11 Mar 2013, 05:11 PM
Hello Himanshu,

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
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.
0
Prasanna
Top achievements
Rank 1
answered on 28 Mar 2013, 11:29 AM
Hey,

 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
0
Boyan Dimitrov
Telerik team
answered on 29 Mar 2013, 03:29 PM
Hello,

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
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.
0
Sameer
Top achievements
Rank 1
answered on 14 Mar 2017, 08:50 AM

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.

0
Sameer
Top achievements
Rank 1
answered on 14 Mar 2017, 08:52 AM
EDIT: Wrong image for tooltip and context menu overlap
Tags
Scheduler
Asked by
Gavin
Top achievements
Rank 1
Answers by
Ivana
Telerik team
Gavin
Top achievements
Rank 1
Prasanna
Top achievements
Rank 1
Helen
Telerik team
Himanshu
Top achievements
Rank 1
Genady Sergeev
Telerik team
Boyan Dimitrov
Telerik team
Sameer
Top achievements
Rank 1
Share this question
or