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

Automatic Edit Form vs Templates

1 Answer 12 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michael Malone
Top achievements
Rank 1
Michael Malone asked on 14 May 2010, 09:56 PM
The automatic edit form provided by the RadGrid creates a control for each item in the datasource... If I need to change the control type of one of these items, for example, change a standard TextBox to a DropDownList that has its own datasource, do I have to abandon the automatic edit form totally and use Templates?

thanks,

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin
Telerik team
answered on 15 May 2010, 07:33 AM
Hello Michael Malone,

You do not need to use a template edit form in order to use a different column editor for a specific column. The easiest approach would be to use a template column and declare the desired editor in its EditItemTemplate. For more information I would suggest that you review the "UnitPrice" column from the following online demo:

Automatic operations

I hope this helps,
Martin
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Michael Malone
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or