I am trying to get the seected node count . to captuer this I have used the bellow code snipet . But it is giving error as " Object doesn't support this property or method" .
Can you please tell why this is happening .
var tree = <%= rtvDetailData.ClientID %>;
var nodeCount = "";
for (var i = 0; i < tree.GetSelectedNodes().length; i++)
nodeCount += tree.GetSelectedNodes()[i].Text +