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

What changed in Beta 2

1 Answer 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
sitefinitysteve asked on 07 Oct 2011, 08:09 PM
This no longer works for me

template: { field: "nodeid", title: "Actions", width: "100px", template: '<a class="videolink" href="#")>link</a>' }

This script error is thrown
unterminated string literal
[Break On This Error] var o,e=kendo.htmlEncode;with(data){o=..."';")>link</a></td></tr>o+=;}return o;

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 10 Oct 2011, 08:32 AM
Hi Steve,

According to the release notes, the templates now use only # instead of <# -- therefore, you'll need to encode the hash sign in the template, like this: <a class="videolink" href="\\#")>link</a>

Kind regards,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Alex Gyoshev
Telerik team
Share this question
or