Hi,
I am trying to solve a very simple thing but somehow not able to get it working.
I have a RadComboBox and radtreeview as one of its items. Now, I want to enable user to select only the leaf node. I have marked "Postback" attribute to false if the node is not leaf. so it solves the purpose of firing an event.
Now , what is happening is, when user clicks parent node, it expands the node but then disappears. so user again have to click the combo box to select.
Is there anyway i can disable the disappearing of radtreeview in combo box ?
I have attached some screenshot and my code. I want my dropdown list to look like Pic-2 when i click the parent node. Currently it looks like Pic-1 after i click the parent node.
Code : OnClientNodeClicking
var node = eventArgs.get_node();
if (node.get_level() != 2) {
node.expand();
return; }
Please help.
I am trying to solve a very simple thing but somehow not able to get it working.
I have a RadComboBox and radtreeview as one of its items. Now, I want to enable user to select only the leaf node. I have marked "Postback" attribute to false if the node is not leaf. so it solves the purpose of firing an event.
Now , what is happening is, when user clicks parent node, it expands the node but then disappears. so user again have to click the combo box to select.
Is there anyway i can disable the disappearing of radtreeview in combo box ?
I have attached some screenshot and my code. I want my dropdown list to look like Pic-2 when i click the parent node. Currently it looks like Pic-1 after i click the parent node.
Code : OnClientNodeClicking
var node = eventArgs.get_node();
if (node.get_level() != 2) {
node.expand();
return; }
Please help.