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

Object doesnt support this propert or method

1 Answer 49 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
mmbm
Top achievements
Rank 2
mmbm asked on 09 Sep 2008, 08:41 PM
I am trying to create a tooltip dynamically at runtime in javascript, but I am receiving the Object doesnt support this propert or method on this line.

var

tooltip = tooltipManager.createToolTip("ToolTip");

It would seem that the 'createToolTip' does not exist in my library even though it is in the sample code delivered with 2008 Q2.  I am using 2008.2.826.35

What am I missing here?

Thanks,
Kevin

1 Answer, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 10 Sep 2008, 07:23 AM
Hello Kevin,

The method certainly works, as can be seen in the following online demo shows:
http://demos.telerik.com/aspnet/prometheus/ToolTip/Examples/RadToolTipManagerClientAPI/DefaultCS.aspx

I guess the problem comes from the fact that you supply a string argument "ToolTip"
What this method expects is a reference to the element to which you want to attach the tooltip, e.g.

tooltip = tooltipManager.createToolTip(element);

Greetings,
Tervel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ToolTip
Asked by
mmbm
Top achievements
Rank 2
Answers by
Tervel
Telerik team
Share this question
or