hi...
my flyTreeView_onSelectedNodeChanged is working fine when my page is not post back, but after post back it is not fired,then if i click twice on any node it come to work fine again.
my node is look like:
+Computers
mouses
KeyBoards
when page load and when i press on computer node it work fine then it expand to 2 childs nodes that is mouses and keyboards, when i press mouses it do post back and get some data and display it. (here is the problem) when the post back is done and when i press any node in the tree it dosnt fire the flyTreeView_onSelectedNodeChanged again , but when press on it again it return to work !!
this is my js code
var treeview;
var currentNodeID;
function flyTreeView_onInitialized(treeviewObject)
{
treeview = treeviewObject;
if(treeview.getSelectedNode() != null)
{
currentNodeID = treeview.getSelectedNode().getValue();
}
}
function flyTreeView_onSelectedNodeChanged(sender,oldNode,node)
{
currentNodeID = node ? node.getValue() : \"null\";
}
BorderColor=\"silver\" BorderWidth=\"1px\" Padding=\"3px\" FadeEffect=\"true\" WideCell=\"true\"
CanBeSelected=\"false\" ContentClickCollapses=\"true\" OnInitializedJavascript=\"flyTreeView_onInitialized\"
OnSelectedNodeChangedJavascript=\"flyTreeView_onSelectedNodeChanged\">