Treeview : Client side expand node

R

ROS

Hi,

My treeview is on a HTML page implemented using Javascript and *.HTC file.

I am trying to expand a node in JavaScript using...

<CODE>

TreeNode.setAttribute("EXPANDED", true);

<CODE>

But I get an error "'event' is null or not an object" error ...I get this
error only on nodes i have added programatically added and not nodes which
are added using XML initially. This is a load-on-demand tree so the root
level is loaded using XML but the remainder nodes are loaded in the onexpand
event programatically.

Any help will ge highly appricited....

R
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top