TreeView OpenedImageKey

0
0

hello,

when i had dynamically nodes to a treeview and if try to set the OpenedImageKey property i’m getting an error “cannot set property ‘onerror’ of undefined” (it’s ok with ImageKey property).

It looks like a hold issue (i’ve found a post from 2016).

Is it a real problem or did i misundersatnd something?

best regards

stéphane

  • You must to post comments
0
0

after further investigations the issue when i try to dynamicali set the openedimagekeyvalue of a node AND i launch the expand method on this node AND i try to do it in a a subcontrol.

so : forget-it. i’ll just make some small changes in my code and everything will be fine.

sorry guys

  • Luca (ITG)
    Thanks, but if you can please send over a code snippet. Whatever the code does, you should’t get that error, since it’s a javascript error.
  • You must to post comments
0
0

I can’t reproduce. I tried with OpenedImageKey and OpenedIndexIndex using existing and non-existing images. Before and after adding the node.

It may have been fixed as part of something else. Can you share a small sample please?

 

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.