Dear All,
Currently I am working on sample application where i have two treeview on my page. TreeView1 consists of Country data and Treeview2 will populate states for Treeview1 on click event. Treeview2 is initially make visible false. It gets visible true only when user clicks on Treeview1 click node event.
I want to attach context menu with Treeview2. Since Treeview2 is visible false, I am getting javascript error of \" \"Firstchild\" is null or not an object error\" .
The code perfectly work when Treeview2 is visible true on design times.
Please help in this situation.