Here's my code to make new nodes
So it all works, great when I click a button on the page to postback, all the nodes created clientside are missing that image.
It seems that it's appending the Host to the beginning of it instead of what I assigned it.
http://postgrad.dev.medportal.ca/apps/rto/new/images/person-white.png
..weird?
function addApproverClick() { var window = $find("<%= newTabWindow.ClientID %>"); var tree = $find("<%= treeView.ClientID %>"); window.close(); tree.trackChanges(); var node = new Telerik.Web.UI.RadTreeNode(); node.set_text('test'); node.set_value(getPickerOptions()); node.set_imageUrl("../images/person-white.png"); selectedNode.expand(); if (addType == "Add") { selectedNode.get_parent().get_nodes().add(node); } else { selectedNode.get_nodes().add(node); } tree.commitChanges(); }So it all works, great when I click a button on the page to postback, all the nodes created clientside are missing that image.
It seems that it's appending the Host to the beginning of it instead of what I assigned it.
http://postgrad.dev.medportal.ca/apps/rto/new/images/person-white.png
..weird?