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

How to have a different edit control for certain rows?

1 Answer 43 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Water
Top achievements
Rank 1
Water asked on 04 Jan 2012, 01:49 PM
I have a tree list which lists a number of settings that can be edited by the user. At the moment I'm using a template column with a text box in it which allows the user to type in a value for the setting when they are editing it. Now I need some of the settings to be editable by a dropdownlist instead, how would I go about doing this?

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 04 Jan 2012, 04:49 PM
Hello,

Have you considered using a FormTemplate edit form? If needed, you could switch the visibility of the controls inside it and with manual editing achieve your goal:
Form Template/User Control Edit Form (demo)
Updating Values Using FormTemplate/UserControl (help)

Greetings,
Tsvetina
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
Water
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or