annantDev
annantDev

Reputation: 367

adding a telerik dropdown/autocomplete control to telerik asp.net mvc grid

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

Answers (1)

Petur Subev
Petur Subev

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

Related Questions