Spread ASP.NET 16
Spread for ASP.NET 16 Product Documentation / Developer's Guide / Getting Started / Working with the Component / Adding JavaScript IntelliSense for Visual Studio 2015 or 2017
In This Topic
    Adding JavaScript IntelliSense for Visual Studio 2015 or 2017
    In This Topic

    The Spread component can support client-side code IntelliSense in Visual Studio 2015 or later (including Visual Studio 2017). This feature allows you to type the name of the control and get a list of available methods and properties. Some browsers may not support certain properties and methods.

    After support has been added, type the control name followed by a dot to see the list.

    This feature requires the FpSpreadJsIntellisense.js file located in the fp_client folder. Use the following steps:

    1. Verify that the ~/Scripts/_references.js reference exists in your IntelliSense settings. Select the Options menu under the Tools menu to see this dialog. Click OK.

      Options dialog box

    2. Add the FpSpreadJsIntellisense.js file to the same folder where the _references.js file is located. You may need to create a Scripts folder in your project if the folder does not exist. You may also need to create the _references.js file under the Scripts folder if the file does not already exist.

      Scripts folder

    3. Add the following line to _references.js:

      /// <reference path="FpSpreadJsIntellisense.js" />

    4. Open and close the FpSpreadJsIntellisense.js file.
    5. Spread client-side methods and properties should now be displayed when you type the control name followed by a dot.

      Intellisense