Hi Oana,
The "o" parameter is available on the server and can be used in server-side expressions, but o.AttachmentId makes no sense inside the Kendo UI template, which is parsed and executed on the client.
Using the following syntax...
is "almost correct", however, you should keep in mind that this represents a
nested Kendo UI template inside the existing detail template. Hash symbols inside nested templates must be escaped, so that the outer template ignores them. This is explained in the documentation.
http://docs.telerik.com/kendo-ui/framework/templates/overview#escaping-hash-literals
Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework -
download Kendo UI now!