I have a DropDownList combo box loaded with 10 items. I have assigned this to teh WinTree.Override.EditorControl. Everything work fine and Editor control shows properly. However, when an item is selected in the combo box, events such as ValueChanged, SelectionChanged do not fire. The problem is that I want to do different things based on the SelectionIndex. However, it is always 0.
Thank you. My mistake.
doreshk said:What do you mean by “not the controls”?
doreshk said:what could cause ValueChanged and SelectionChanged not to fire when different item is picked in editor, but changing SelectedIndex from code fires these events
Obviously I've read that post - I was replying to it. And yes, I’m handling events of editor. What do you mean by “not the controls”?
My question is what could cause ValueChanged and SelectionChanged not to fire when different item is picked in editor, but changing SelectedIndex from code fires these events? Any properties of the UltraTree?
private void FillEditor(UltraTreeNode folderNode){
Please read the post from Feb. 1, 2008. To summarize, you need to handle the events of the editor embedded within the tree, not the control's. That post demonstrates how to do that.
Hi,
I'm also using UltraComboEditor inside one of Cells on UltraTreeNode.
I hook UltraComboEditors events ValueChanged and SelectionChanged. I can get these to fire only by changing SelectedIndex from code:
editor.SelectedIndex = x ;
They do not fire if different item is picked in GUI.
Could you please advise?
Thank you.
P.S. Using version 7.1