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

Create Column Editor different controls, depending on row data

1 Answer 58 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Mateusz
Top achievements
Rank 1
Mateusz asked on 06 Sep 2012, 10:46 AM
Hi,
I want to achieve such scenario.
I`m invoking CreateColumnEditor and want it to show different edit controls, depending on actually editable rows control(data inside the control).

Any ideas to get me going? Some small code sample?

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 11 Sep 2012, 07:53 AM
Hello,

 The column editors are predefined depending on the type of column that you use. If you need to have custom controls in the column editor then it is recommended to use the TreeListTemplateColumn and define the control in its EditItemTemplate.
Also have in mind that the columns in the treelist support only one column editor and cannot render different controls for each row unless you manually hide or show specific controls in the template.

All the best,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
TreeList
Asked by
Mateusz
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or