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

Possible bug with Adding/Concatenating

3 Answers 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
FlexDigital
Top achievements
Rank 1
FlexDigital asked on 30 Apr 2013, 05:45 PM
Hey guys,

I've noticed since upgrading recently that a few of my templates that have a plus (+) character in them:

#= x + y #
#= 'i' + Id #
etc...

are removing the '+' internally and throwing an invalid template exception.

I've gotten around this easily enough by moving my logic into a function and calling that within the template, however, this seems to be a bug, and I was just wondering if there was any official feedback on the issue.

EDIT: I should add I'm using Kendo v2013.1.319

3 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 02 May 2013, 02:08 PM
Hi Bo,

This is not a known issue. Is it possible for you to isolate it in a sample jsbin or jsfiddle, so that we may examine it more closely? Thank you in advance.

Kind regards,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
FlexDigital
Top achievements
Rank 1
answered on 02 May 2013, 09:25 PM
On a closer look, it appears to be the way the MVC Razor wrapper for a Kendo Grid renders its column.ClientTemplate("#= 1 + 2 #")

Renders the KendoGrid template as: # 1  2 #

Since this is a MVC wrapper issue rather than a template issue, is it possible to move this thread?
0
Petur Subev
Telerik team
answered on 06 May 2013, 11:33 AM
Hello Bo,

Feel free to open new support thread / support ticket for that case.

Anyway the issue is not a known one and providing a sample project would be of great help for us to trace down the reason for that behavior.

Kind Regards,
Petur Subev
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
FlexDigital
Top achievements
Rank 1
Answers by
Petyo
Telerik team
FlexDigital
Top achievements
Rank 1
Petur Subev
Telerik team
Share this question
or