In the recent past, I have implemented a treeview in a combobox template in numerous projects.Telerik's online example helped, but it certainly wan't easy, and a decent amount of custom javascript is necessary, just to get it to work..Also, there are quite a few hurdles that need to be crossed (usually through custom javascript) when working with the treeview and drop down, and getting their individual selection/clicking functionalities to play nice together, particularly in ajax scenarios.
I think it would be great if telerik could create a "hybrid" control called a "Dropdown Treeview", or something along those lines. I realize that one of the nice things about Telerik controls is their ability to integrate with eachother. However, in this case, while the treeview/combo integration seems obvious, the reality is that the resultant control really doesn't use most of the treeview's functionality, nor does it use most of the combo box's functionality. So, simply integrating the existing treeview and combobox controls creates a large amount of overkill, and as each of these separate controls becomes more and more functional over time, it will likely make the current treeview in combo box template integration more susceptible to bugs and javascript issues.
I would think the creation of this hybrid control, which only has the simplest features of the treeview and combo box (ie, the ability to display tree nodes in a combo box with dropdown), would not be as difficult and time-consuming as creating a brand new control from scratch, given that Telierk already has the code base for much of it in the two separate controls. Anyhow, I'd be intersted in getting others' opinions on this. I think the treeview in a combox is a really nice UI feature in many applications, and I feel the creation of a hybrid control would be a much better long-term solution over the current treeview in combo box template example.
IMO, this control would only have to have the following primary functionality...
1) The ability to populate tree "nodes" pretty much in the same fashion as the current treeview.
2) The ability to pesent the nodes in a drop down,
3) The ability to set, or get the selectedNode property, just like in a regular treeview. The SelectedNode would be displayed in the "Combo" portion of the control.
There are some more advanced features possible, such as auto-selection of nodes as you type in the combobox (similar to auto-complete in the current combo box), but these are certainly not necessary in most every-day implementations.
As you can see, there's no need for the node check, drag/drop, edit, etc. features of the existing treeview and there's no need for the templating, multi-column, etc. features of the existing combo box. I also think that most of the future development of either of these controls, except perhaps in the area of performance improvement, would also be outside the scope of functionlaity necessary in the hybrid implementation, so agan, my fear is that as time goes on, the current treeviewi in combo box template solution will become more and more fragile, requiring rework of existing applications where this is implemented.
I think it would be great if telerik could create a "hybrid" control called a "Dropdown Treeview", or something along those lines. I realize that one of the nice things about Telerik controls is their ability to integrate with eachother. However, in this case, while the treeview/combo integration seems obvious, the reality is that the resultant control really doesn't use most of the treeview's functionality, nor does it use most of the combo box's functionality. So, simply integrating the existing treeview and combobox controls creates a large amount of overkill, and as each of these separate controls becomes more and more functional over time, it will likely make the current treeview in combo box template integration more susceptible to bugs and javascript issues.
I would think the creation of this hybrid control, which only has the simplest features of the treeview and combo box (ie, the ability to display tree nodes in a combo box with dropdown), would not be as difficult and time-consuming as creating a brand new control from scratch, given that Telierk already has the code base for much of it in the two separate controls. Anyhow, I'd be intersted in getting others' opinions on this. I think the treeview in a combox is a really nice UI feature in many applications, and I feel the creation of a hybrid control would be a much better long-term solution over the current treeview in combo box template example.
IMO, this control would only have to have the following primary functionality...
1) The ability to populate tree "nodes" pretty much in the same fashion as the current treeview.
2) The ability to pesent the nodes in a drop down,
3) The ability to set, or get the selectedNode property, just like in a regular treeview. The SelectedNode would be displayed in the "Combo" portion of the control.
There are some more advanced features possible, such as auto-selection of nodes as you type in the combobox (similar to auto-complete in the current combo box), but these are certainly not necessary in most every-day implementations.
As you can see, there's no need for the node check, drag/drop, edit, etc. features of the existing treeview and there's no need for the templating, multi-column, etc. features of the existing combo box. I also think that most of the future development of either of these controls, except perhaps in the area of performance improvement, would also be outside the scope of functionlaity necessary in the hybrid implementation, so agan, my fear is that as time goes on, the current treeviewi in combo box template solution will become more and more fragile, requiring rework of existing applications where this is implemented.