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

Subnode onclick events

1 Answer 73 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Regeesh Joseph
Top achievements
Rank 1
Regeesh Joseph asked on 28 Jul 2010, 11:26 AM
Hai,

I have a treenode control. Its structure is as follows:

                1.  Node 1
                        Node 1a                     
                        Node 1b
                        Node 1c
                2.  Node 2
                        Node 2a
                        Node 2b
                        Node 2c
                        Node 2d
                3.  Node 3

In the OnNodeExpand event of the treeview control,  sub nodes( Node 1a, Node 1b, Node 1c etc...) are generating.
Client Side events OnClientNodeClicking, OnClientNodeExpanding etc... are working on clicking both parent nodes(Node 1, Node 2 etc...) and sub nodes( Node 1a, Node 1b, Node 1c etc...).
I want to perform some server side events on clicking the sub nodes( Node 1a, Node 1b, Node 1c etc...).
How can I do it?

Please help me.

Thanks & regards,
Regeesh Joseph

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 28 Jul 2010, 02:43 PM
Hello,


You need to attach "onnodeclick" to execute server code when clicking the node. The NodeCheck event fires when the user clicks a Node.
NodeClick


-Shinu.
Tags
TreeView
Asked by
Regeesh Joseph
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or