Declined
Last Updated: 08 Jul 2021 06:56 by ADMIN
Siva
Created on: 06 Jun 2014 08:56
Category: Templates
Type: Feature Request
10
Kendo templates to render SVG with MVVM binding in Firefox, IE, Safari
SVG paths are not rendering with kendo templates binding with MVVM view model. For reference: http://jsfiddle.net/qqzmZ/9/.

Known Issue:
In firefox, when we inspect svg element and edit that svg tag element 
(right click and select "Edit Svg") then the svg is rendering.

But in IE 10 and Safari, no path tags are found in svg tag.

Other browser except Chrome, require the elements to be created with the correct namespace. Since the template output is a string this typically involves a DOMParser.
The code works out to something like this:

var parser = new DOMParser();
var doc = parser.parseFromString(svgString, "text/xml");
var node = document.adoptNode(doc.documentElement);
// node can now be appended to the current document

Can this code be supported with kendo templates to render SVG tags.
1 comment
ADMIN
Nencho
Posted on: 08 Jul 2021 06:56

Hi,

Declined due to low interest and inactivity.

Regards,
Nencho
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.