locked
Javascript IntelliSense in content page (Visual Studio 2010) RRS feed

  • Question

  • User-1461314517 posted

    Hi,

    I have defined the include javascript file in the master page

    <script type="text/javascript" src="~/js/common-lib.js">


    I would like to have IntelliSense at the content page. I checked many posts suggested to include the following at the top of content page.

     <% if (false) { %>
        <script type="text/javascript" src="~/js/common-lib.js"></script>
    <% } %>

    Apart from this workaround, is there any possible way to make it happen?

    Thanks.

    Friday, December 20, 2013 2:31 AM

Answers

  • User-166373564 posted

    Hi,

     <% if (false) { %>
        <script type="text/javascript" src="~/js/common-lib.js"></script>
    <% } %>

    I reviewed previous discussions about javascript intellisense content page, I think this is very simple way to make Javascript IntelliSense in content page.

    Best regards

    Angie

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 23, 2013 2:12 AM