How to include Sitefinity's jquery properly from CSHTML

Posted by AM on 13-Feb-2020 23:18

In MVC/Views/Layouts/default.cshtml, I don't see any references to include Sitefinity's version of JQuery.  Attempting to include it myself causes issues when editing the page in the back end.

Adding this before </body> also causes issues: @Html.Script(ScriptRef.JQuery, "top", true)

The only way I've been able to include Sitefinity's JQuery is to drag the navigation widget on to every page which doesn't seem like the right way to do it.

Thank you.

All Replies

Posted by jread on 26-Feb-2020 16:08

Do you have this using statement in the View you are trying to load jQuery? @using Telerik.Sitefinity.Frontend.Mvc.Helpers;

www.progress.com/.../refer-to-resources-inside-views-mvc

This thread is closed