0

We are new to Kentico having recently purchased a Kentico 12 licence.

This is what we are trying to do:

  1. Create a new CSS Stylesheet and JavaScript File in the Development section of the CMS
  2. On a single, custom MVC page, reference these client resources using standard HTML references, something like:
<link href="{Reference-to-CSS}"
      rel="stylesheet"
      type="text/css" />

<script src="{Reference-to-JavaScript}" type="text/javascript" />

I have looked at the Kentico 12 API documentation and I think I need to use the CssLinkHelper.GetStylesheetUrl() helper method for the CSS, but I can't find an equivalent for the JavaScript.

Any guidance would be much appreciated.

Neilski
  • 4,385
  • 5
  • 41
  • 74

1 Answers1

1

I think you are looking for ScriptHelper. Here are all the methods.