Reputation: 367
I have a telerik MVC grid wherein I want to add one databound column. I want this column to show telerik dropdown/autocomplete control.
How can I do that?
Upvotes: 0
Views: 1407
Reputation: 20233
If you want to just show the data it is easy - you define the DropDownList in the Template method of the column. If you want your changes to affect the model and change it - you need to use EditorTemplate. Use the UIHint attribute or use the TemplateName method of the column to specify the editor. You can check this demo for such implementation.
Upvotes: 1