Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
igtree_getTreeById not working with javascript
posted

I am using asp.net 2.0 , I have added a infra webtree with id trvRelationinfra but unable to access it with igtree_getTreeById, do I need to include any Javascript file related to Infragiostics controls? Following is the Javascript function, I think the problem is at 1st line with igtree_getTreeById, as  -- alert("tree"); // gives message as "undefined"

function fn_getDetails() {

 var tree = igtree_getTreeById("trvRelationinfra");

alert("tree"); // gives message as "undefined"

var node = tree.getNodeById("NodeID1");

var strID= node.DataKey;

alert(strID);

return false; }

Parents Reply Children
No Data