1
Answer

Context Menu Difficult to come up - TreeView + Nodes

some one

some one

14y
3.3k
1

Its hard to come up with a subject title for this... 
 
But basicly this is what happens
 
i have a normal context menu attacked to a treeview with a bunch of treeviewnodes in it. so when u right click a node the context menu comes up,
 
however when you right click it dosnt always work, actully it never works at first you have to right click 3 - 5 times before the menu will display...
Any thoughts?
Thanks!
Answers (1)
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 8y
Eval() is used to bind to an UI item that is setup to be read-only (eg: a label or a read-only text box). However, you are using as inline coding so you are getting exception.
What is the need of Eval() to check condition. Create a function and pass value to the function so that you won't use Eval() as inline coding.