Problems with Javascript in Backend

Posted by Community Admin on 03-Aug-2018 16:38

Problems with Javascript in Backend

All Replies

Posted by Community Admin on 24-Aug-2012 00:00

Hi, 
   I have a problems with javascript links, it works fine in frontend but in backend it is not working, the javascripts files not loading.

I  am using JavaScriptEmbedControl for load javascript file, I have this in my master page:

<%@ Register TagPrefix="sf" Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Web.UI.PublicControls" %>
 
<sf:JavaScriptEmbedControl runat="server" ID="jsjcarousellite" ScriptEmbedPosition="InPlace" Url="~/Sitefinity/WebsiteTemplates/SmarterCommerce/JS/myjavascript.js" />

<sf:JavaScriptEmbedControl runat="server" ID="jslightbox" ScriptEmbedPosition="InPlace"Url="~/Sitefinity/WebsiteTemplates/SmarterCommerce/JS/jquery.min.js" />

I am using Sitefinity 5.1.

Thanks,
Nathalia. 

Posted by Community Admin on 28-Aug-2012 00:00

I am having a similar issue, did you ever get an answer from Sitefinity? FWIW, this blog post appears to have at least a recommendation, though I have heard that there are some issues with the below as well:

http://blog.falafel.com/Blogs/george-saadeh/2012/05/09/using-jquery-and-other-javascript-libraries-in-sitefinity 

This thread is closed