TreeViewNode image not set properly

1 reply. Last post: February 19, 2010 5:36 AM by Julia Wijaya
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Dennis CheeMember

When you add a new node via javascript, it seem the set image function is not working.

Example:

var webTreeView = ISGetObject("WebTreeView");
var webTreeViewNode = webTreeView .GetSelectedNode();
webTreeViewNode .AddNode('New Node', 'New Node');
var newNode = webTreeView .FindNodesByText('New Node');
newNode[0].Set('Image', 'images/default.gif'); //tried newNode[0].SetImage('images/default.gif');

Anyone have similar problem ?

All times are GMT -5. The time now is 9:07 AM.
Previous Next