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

Template in DisplayTemplates

1 Answer 58 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Adriano
Top achievements
Rank 1
Adriano asked on 18 Apr 2011, 10:12 AM
Hi all, in your Grid I've binded a viewmodel with a property decorated with UIHint metadata. In this way, I'd want to use a custom displaytemplate/edittemplate. The edittemplate (a dropdonwlist) works right but not the displaytemplate: the grid shows the bound property without using what specified in UIHint metadata.

Could you help me?

Thanks 
Adriano

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 18 Apr 2011, 11:43 AM
Hello Adriano,

 DisplayTemplates are supported only in server bound mode. Could it be that you are using Ajax binding mode? If this is the case you should use client-templates in order to customize the appearance of the column.

Kind regards,
Atanas Korchev
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
Adriano
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or