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

[Solved] Grid ClientSide template

1 Answer 176 Views
Documentation and tutorials
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jason Finch
Top achievements
Rank 1
Jason Finch asked on 20 Apr 2010, 02:09 AM
Telerik,

In the 2010.1 Helpfile for Grid\Columns using grid clientside templates is discussed as:

        .Columns(columns =>
        {
            columns.Add(c => c.CustomerID).ClientTemplate(
            "<strong><%#= ClientID #></strong>"

)











But in the demo and afaik to get it working the template needs to be (without the percent):
 columns.Add(c => c.CustomerID).ClientTemplate("<strong><#= ClientID #></strong>")

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 20 Apr 2010, 07:37 AM
Hello Jason Finch,

This seems to be a problem with the help file. The right syntax is the one from the examples. I will make sure this gets fixed immediately.

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
Documentation and tutorials
Asked by
Jason Finch
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or