Nkululeko Mthethwa
Top achievements
Rank 1
Nkululeko Mthethwa
asked on 07 Jan 2010, 07:53 AM
Hi,
I am using a RadTreeView component of the 2008 Q2 Controls for ASP.NET AJAX,
I need to create a node of a tree on clientside and set a normal tooltip, I fail dismal
here is my first attempt
using node.get_element().id = "myID", gives the null error again, what should I do because I need to set a simple tooltip on node that was created on the client side?
I am using a RadTreeView component of the 2008 Q2 Controls for ASP.NET AJAX,
I need to create a node of a tree on clientside and set a normal tooltip, I fail dismal
here is my first attempt
var node = new Telerik.Web.UI.RadTreeNode(); |
node.set_text("New Node"); |
node.set_value("newValue"); |
var myTree = $find('<%= myTreeView.ClientID%>'); |
myTree.trackChanges(); |
node.get_textElement().title = "myToolTip"; // This line gives an error saying get_textElement is null |
myTree.get_nodes.add(node) |
myTree.commitChanges() |
6 Answers, 1 is accepted
0
Hello Nkululeko Mthethwa,
Consider using the set_toolTip property of the RadTreeNode client object. You can use it like this:
Greetings,
Genady Sergeev
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.
Consider using the set_toolTip property of the RadTreeNode client object. You can use it like this:
node.set_toolTip(
"my tooltip"
);
Greetings,
Genady Sergeev
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.
0
Nkululeko Mthethwa
Top achievements
Rank 1
answered on 07 Jan 2010, 06:05 PM
Thank you Genady, but I tried that as well but it give the error
"Microsoft JScript runtime error: Object doesn't support this property or method"
"Microsoft JScript runtime error: Object doesn't support this property or method"
0
Nkululeko Mthethwa
Top achievements
Rank 1
answered on 07 Jan 2010, 06:06 PM
somebody please help me!
0
Hello Nkululeko,
Can you please check if you are using the latest version of Telerik.Web.UI.dll? You should be seeing this error with the latest version.
Sincerely yours,
Dimitar Milushev
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.
Can you please check if you are using the latest version of Telerik.Web.UI.dll? You should be seeing this error with the latest version.
Sincerely yours,
Dimitar Milushev
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.
0
Nkululeko Mthethwa
Top achievements
Rank 1
answered on 12 Jan 2010, 02:41 PM
What is the latest version, I am using 2008.2.708.20
0
Hello Nkululeko Mthethwa,
The latest official version is 2009.3.1208
All the best,
Veskoni
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.
The latest official version is 2009.3.1208
All the best,
Veskoni
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.