I'm using a radtreeview inside a combobox, and I'm using the following code for the OnClientNodeClicking event clientside.
The problem is that server side btnSearch_Click event the dropdown always returns the selected value as null.
Any help would be greatly appreciated.
The problem is that server side btnSearch_Click event the dropdown always returns the selected value as null.
Any help would be greatly appreciated.
function OnRadTreeViewInComboBoxNodeClicking(sender, args) { var dropdownId = $('#' + sender.get_id()).closest('.RadComboBoxDropDown').attr('id').replace('_DropDown', ''); var comboBox = $find(dropdownId); var node = args.get_node() comboBox.set_text(node.get_text()); comboBox.trackChanges(); comboBox.get_items().getItem(0).set_text(node.get_text()); comboBox.get_items().getItem(0).set_value(node.get_value()); comboBox.commitChanges(); comboBox.hideDropDown(); comboBox.attachDropDown(); $('#btnSearch').click();}