This is a migrated thread and some comments may be shown as answers.

RadTreeListView with combobox

3 Answers 50 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 08 Feb 2011, 07:10 AM
I used RadTreeListView to view my data in a tree concept. 
I want to set one of my column to have combobox when the cell is selected.

Can this be done on the control?

Please send me example code

Thank you in advance

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 08 Feb 2011, 08:43 AM
Hello,

 You can define desired control in desired column CellTemplate. 

Kind regards,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Mark
Top achievements
Rank 1
answered on 08 Feb 2011, 11:26 AM
Hi

Thank you. It works to have combobox on the cell column using celltemplate.


However, I do not know how am I going to do to make the combobox visible when cell is selected otherwise textblock when not selected

Can you give me example code?
0
Vlad
Telerik team
answered on 08 Feb 2011, 01:31 PM
Hello,

 In this case you should use CellEditTemplate to define the combo and CellTemplate to define the TextBlock. 

Regards,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
TreeListView
Asked by
Mark
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Mark
Top achievements
Rank 1
Share this question
or