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

Question about "Custom Editors Extending Auto-Generated Editors"

1 Answer 30 Views
Grid
This is a migrated thread and some comments may be shown as answers.
LamKhoa
Top achievements
Rank 1
LamKhoa asked on 13 Jul 2012, 02:00 PM
Hi,

http://www.telerik.com/help/aspnet-ajax/grid-custom-editors.html


I tried to follow the example in the help tutorial above. It works fine.
However, I have some GridTemplateColumn that I need to create GridTemplateColumnEditor for it (programmatically), and this help tutorial does not have example for that.

Would you please show me an example of creating GridTemplateColumnEditor programmatically?


Thanks

Lamk.

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 18 Jul 2012, 09:53 AM
Hi,

GridColumnEditor as provided to ease the process of modifying column editor settings in edit mode of statically declared columns. Instead of accessing manually the column instance in edit mode and changing its properties dynamically the column editor could be used to do this automatically.

As I said earlier this was made for statically declared columns, when you are creating template columns programmatically you have full control what controls will be shown and what will be their property values.

You could check this help topic for more information on how to create template columns programmatically.

Greetings,
Andrey
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
Grid
Asked by
LamKhoa
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or