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

[Solved] DisplayTemplate issue in Grid

2 Answers 122 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.
Supun Thrikawala
Top achievements
Rank 1
Supun Thrikawala asked on 23 Apr 2010, 09:23 AM
Hi,

I have used a partial view as a DisplayTemplate for my telerik grid. It works fine when the page loads for the first time. But when i perform any ajax action such as sorting/refreshing, the column resets back to the original value and the displaytemplate is not working anymore.
Any idea why this is happening?

Thanx

2 Answers, 1 is accepted

Sort by
0
Supun Thrikawala
Top achievements
Rank 1
answered on 23 Apr 2010, 12:29 PM
Update on my post, This happens only to my Int/Long type fields. Not only when I use UIHint attribute to render my partical views, but also when I use formatting with attributes like [DataType(DataType.Currency)]. Please help me with it.
Thanx
0
Peter
Top achievements
Rank 1
answered on 23 Apr 2010, 12:41 PM
Hi,

I am strongly suggest first review the online help articles.
For instance, here you can find information for the Display templates and some limitations.

Regards,
Peter
Tags
Grid
Asked by
Supun Thrikawala
Top achievements
Rank 1
Answers by
Supun Thrikawala
Top achievements
Rank 1
Peter
Top achievements
Rank 1
Share this question
or