Hi,
I'm using this code:
But sometimes I need to click twice on a node for the text to show up in the combobox.
I click once, and the combobox collapses but the combobox text is still the old one.
I open the combobox again and clicks on a node, this time the text is showing up.
Why is that? Can I change this code for any other "working" code?
Most of the times it works as it should, but sometimes, randomized, it's not working.
Regards,
Mattias
I'm using this code:
function nodeClicking(sender, eventArgs) {
var comboBox = $find("<%= radComboBoxUnits.ClientID %>");
var node = eventArgs.get_node()
node.set_selected(true);
comboBox.set_text(node.get_text());
comboBox.hideDropDown();
}
But sometimes I need to click twice on a node for the text to show up in the combobox.
I click once, and the combobox collapses but the combobox text is still the old one.
I open the combobox again and clicks on a node, this time the text is showing up.
Why is that? Can I change this code for any other "working" code?
Most of the times it works as it should, but sometimes, randomized, it's not working.
Regards,
Mattias