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

All JS-Libs bottom of body

2 Answers 57 Views
Installer and VS Extensions
This is a migrated thread and some comments may be shown as answers.
Sven
Top achievements
Rank 1
Sven asked on 10 Oct 2012, 11:59 AM
Hi,

there is no problem when using KendoUI only with HTML and jQuery. I have the control where on the page my scripts and functions are executed.

When using the HTML-Helper in Razor all function are written in the middle of the DOM and I get the famous "jquery is not defined" exception.

InlineScripts or InlineStyles are a bad style for webperformance.
So I ask if there is a way to use HTML-Helper without writing all scriptlibraries in the head? 

2 Answers, 1 is accepted

Sort by
0
Brian
Top achievements
Rank 1
answered on 14 Nov 2012, 06:54 PM
bump?
0
Atanas Korchev
Telerik team
answered on 15 Nov 2012, 08:21 AM
Hello,

 Currently all Kendo MVC Html Helper extensions output their initialization JavaScript inline. This requires jQuery to be included beforehand. Implementing the other would need some sore of a place where all widget initialization code should go. We would love to hear any ideas about how this may work.

Regards,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Installer and VS Extensions
Asked by
Sven
Top achievements
Rank 1
Answers by
Brian
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or