Click or drag to resize

JavaScript

Programme code for the web views (*.CSHTML files)

This topic contains the following sections:

Add a Java script file
  1. Add Java script file

  2. Setting file properties

    Property

    Value

    Build Action

    Content

    Copy to Output Directory

    Copy always

  3. Add script link

    Example in _Layout.cshml

    XML
    <script src="~/Scripts/Velo/ReportsItem.js" type="text/javascript"></script>
  4. Code structure

    See Code Structure