Javascript Template Example In Overview doesn't work

4 posts, 0 answers
  1. Dave
    Dave avatar
    5 posts
    Member since:
    Jan 2013

    Posted 07 Feb 2013 Link to this post

    Can someone point me to a functional jsFiddle or equivalent that has something like the example shown here: http://docs.kendoui.com/getting-started/framework/templates/overview  under External Templates and Expressions


    Note the improper <ul> in the example, which to me is indicative of this not being code that was pasted from a successful running example.

    Anyway, posting code snippets is not enough - post a link to a working example please : )

    Thank You

    DJM
  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 08 Feb 2013 Link to this post

    Hello David,

    Thanks for pointing this out - we have updated the docs. You can browse our template demos for several live examples. 

    All the best,
    Petyo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Dave
    Dave avatar
    5 posts
    Member since:
    Jan 2013

    Posted 08 Feb 2013 Link to this post

    Thanks Petyo.

    I looked at the examples and demos of templates. Then I came to the Template Overview because the demo didn't work. The same example has the same error in the demos and has not been fixed there as of my original post, FYI.

    Here is working demo in a jsFiddle: http://jsfiddle.net/davidjmcclelland/Wr9jU/

    I add a document.write() around the template(data)). 

    A visual result is critical for novice learners! I thought template took care of writing out the html to the page. Am I wrong?

    I suggest putting that in the example or something equivalent.

    MAC
  5. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2877 posts

    Posted 12 Feb 2013 Link to this post

    Hello Dave,

    Thank you for the feedback.

    You are right. We will update the code samples in the aforementioned help topic in a short period of time. The changes should be published on-line till the end of the week.

    Best regards,
    Alexander Valchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
Kendo UI is VS 2017 Ready