Intellisene for javascript code in cshtml file

Posted by: dellos1987 on 5 October 2021, 1:50 pm EST

  • Posted 5 October 2021, 1:50 pm EST

    hi,

    I added .ts files as suggested in this link below

    https://www.grapecity.com/componentone/docs/mvc/online-mvc-core/IntelliSenseSupportforMVCControls.html

    But it just adds C# code intellisene, not Javascript.

    I m using VS 2019 Version 16.10.3.

    How can I fix this case?

  • Posted 6 October 2021, 9:16 pm EST

    Hello,

    We are not able to replicate the issue at our end. Could you please check if you have provided the references correctly? You may also try creating a project using C1Template as it would automatically add the required references.

    If the issue persists, please provide a sample replicating the issue, so that we may debug it and reply accordingly.

    Regards

    Dushyant Sharma

  • Posted 7 October 2021, 12:26 pm EST

    Hi,

    I tried with C1Template too, but Javascript Intellisene not working.

    Here is the C1Template I tried.

  • Posted 7 October 2021, 12:34 pm EST

    Sorry,

    Here is the template I tried.

    You should change the File name to “C1MvcApplication1.zip.001” and “C1MvcApplication1.zip.002”.

    C1MvcApplication1_001.zipC1MvcApplication1_002.zip

  • Posted 8 October 2021, 12:07 am EST

    Hello,

    We tried renaming the sample you shared, but the fies are corrupted. Could you please provide a fresh sample, so that we could debug the issue and reply accordingly.

    Regards

    Dushyant Sharma

  • Posted 20 October 2021, 7:15 pm EST

    HI,

    I fixed this issue by installing TypeScript into project.

    For those who face this issue in the future search for how to install TypeScript use npm if your project does not show Intellisence.

    Thank.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels