-
Jeff Bradshaw
27
posts
Member since:
Oct 2008
Posted 30 Mar 2011
Link to this post
I took the code to have a treeview in a combobox and it works fine. Problem is, I need it to do an autopostback when somebody changes the value. I have put autopostback=true for the combobox (there isn't one for the treeview) and it works when you first come in and there's no value for the text in the combo box. But once it's been set, it doesn't do the autopostback.
Any thoughts?
TIA - Jeff.
-
-
17764
posts
Member since:
Mar 2007
Posted 31 Mar 2011
Link to this post
Hello Jeff,
I am not quite sure about your requirement and I suppose you want to fire RadComboBox SelectedIndexChanged event when changing the TreeView item. If that is the case that behaviour is expected.
When RadComboBox has RadTreeView as template, it actually has only one item - the templated RadTreeView. That is why the SelectedIndexChanged event of RadComboBox will not be fired.
You should subscribe to some server-side event of RadTreeView - NodeClick for example.
If it doesn't helps, please elaborate your scenario.
Thanks,
Shinu.
-