Hello,
is it possible to create a TreeListView with ComboBoxes on the nodes so I could change the description of the node by selecting a value from the dropdown list? We use Silverlight 4 and VS 2010.
Thank you in advance
3 Answers, 1 is accepted
0
Maya
Telerik team
answered on 10 Feb 2011, 03:29 PM
Hi CHRISTIAN,
You may try to use the GridViewComboBoxColumn. Another possibility would be to define a CellTemplate for the particular column and set a RadComboBox inside.
Best wishes,
Maya
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Hi,
I've tried to create a TreeListView with ComobBoxes in the nodes using the
approach with GridViewComboBoxColumn. But I wasn't able to bind my
observablecollection to the ComboBox. Would it be possible to provide a small
example how to bind a ComboBox within the Tree of the TreeListView.
For the start I need simply one node in a GridListView with a ComboBox in it.
Firstly, the data sources of the RadTreeListView and the GridViewComboBoxColumn need to be separate ones. Furthermore, you have to define at least the DataMemberBinding, DisplayMemberPath, ItemsSource and SelectedValueMemberPath properties of the column.
You may take a look at our online documentation for further reference. Furthermore, you may download the sample project from this forum thread that illustrates how to define the GridViewComboBoxColumn. Both target RadGridView, but the settings of the column are the same.
Best wishes,
Maya
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>