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

[Solved] get_checked() is not a function

1 Answer 176 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Andrew Short
Top achievements
Rank 1
Andrew Short asked on 25 Mar 2008, 06:33 PM
After upgrading a treeview to prometheus, I am having trouble getting some client side code to work.  In particular, when I do a node.get_checked(), the browser gives a javascript error:  Object doesn't support this property or method.  When I do a node.get_nodes(), I get a valid object back, so I know the object node is not null and some of the javascript is being loaded, but perhaps not all of it?  I cannot figure out why I cannot get the get_checked() method to work.

1 Answer, 1 is accepted

Sort by
0
Andrew Short
Top achievements
Rank 1
answered on 25 Mar 2008, 07:21 PM

Nevermind, the signature of the event handler with the old RadControls was 

function

AfterCheck(node), but I needed to update it for Prometheus to 

function

AfterCheck(sender, args). 

Oops.

Tags
TreeView
Asked by
Andrew Short
Top achievements
Rank 1
Answers by
Andrew Short
Top achievements
Rank 1
Share this question
or