Tri-state root node object

hi

how can i get the root tree node on client side. I am using javascript on client side.

If I use the ClientObjectID that I have assigned to the tree control I am not able to loop through all the Nodes, since it does not have a Nodes collection.

My Problem is like this, I load a tree structure from my C# code and some of the Nodes are checked. The Tree Object is inside a CallBackPanel and on some client event I refresh the Tree data from the Server. When the Tree is finished Refreshing I want my JavaScript to run which will scan all the Nodes and print some data say the Name of the Nodes that are checked on the screen.

For this I need two things
1. An event at the client that will trigger the javaScript function when the tree has finished Refreshing. (I tried 'AfterCallbackScript' & 'AfterCallbackResponseProcessedScript' it did not work)
2. I need the root node object inside my JavaScript that will be used to iterate all the Nodes.

Please Help.


Thanks
Dalvir Singh.


1 Reply

AD Administrator Syncfusion Team March 17, 2008 12:59 PM UTC


Hi Dalvir,

Thank you for your interest in Syncfusion Essential Studio.

Since you are a Direct-Trac customer, can you please create an incident under your Direct-Trac account? So that, I can forward this to the Diagram Engineer and ensure an update for you quickly.

Thank you for your patience.

Regards,
Nanda


Loader.
Up arrow icon