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

set_expandendImageUrl throws error

2 Answers 18 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
jorge
Top achievements
Rank 1
jorge asked on 16 Apr 2008, 06:02 PM

Creating a clone of a node on the client side, the following code throws a JS error "Object doesn't support this property or method".  Using latest build 2008_1_415.

newNode.set_expandendImageUrl(node.get_expandedImageUrl());  
 

this other line works fine:

newNode.set_imageUrl(node.get_imageUrl());  
 

Jorge

2 Answers, 1 is accepted

Sort by
0
Accepted
Veselin Vasilev
Telerik team
answered on 18 Apr 2008, 02:33 PM
Hi jorge,

The problem is that you have misspelled the name of the javascript function.
You used set_expandendImageUrl while it should be set_expandedImageUrl

I hope this helps.

All the best,
Veskoni
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
jorge
Top achievements
Rank 1
answered on 18 Apr 2008, 02:51 PM
Duh!  Sorry for wasting your time.

Jorge
Tags
TreeView
Asked by
jorge
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
jorge
Top achievements
Rank 1
Share this question
or