JavaScript Intellisense

4 posts, 0 answers
  1. Christian
    Christian avatar
    112 posts
    Member since:
    May 2010

    Posted 07 Apr 2010 Link to this post

    Dear Support,

    how can I get intellisense for javascripts in seperated javascript files. For example If I create a test.js script file and add this to a page I can use all function blocks, but I have no intellisense in the file. ANy Idea why and how I can resolve this issue?

    If I create a function directly in the page intelisense is working fine.

    Thanks for help.

  2. Sebastian
    Sebastian avatar
    9934 posts

    Posted 12 Apr 2010 Link to this post

    Hello Christian,

    It is possible to add JavaScript IntelliSense for RadControls for ASP.NET AJAX to external javascript files as well. The extra step compared to this blog post would be to add corresponding reference tab at the beginning of your js file (see the enclosed screenshot).

    For your further convenience I am attaching a simple test project to this forum thread.

    Best regards,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Craig
    Craig avatar
    5 posts
    Member since:
    May 2012

    Posted 29 May 2012 Link to this post

    This is not working for me.  For one thing in the web.config file there is an add assembly tag for an assembly that does not exist in the zip file.
    <add assembly="Telerik.Web.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"/>

    Did I miss something?
  4. Richard
    Richard avatar
    479 posts
    Member since:
    Nov 2011

    Posted 31 May 2012 Link to this post


    The "Telerik.Web.Design.dll" typically gets installed in the GAC when you run the RadControls for ASP.NET AJAX installer. So, if you have these controls installed on your workstation, you'd have to navigate to "C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Telerik.Web.Design" and retrieve the version information and use that to update the <add assembly="Telerik.Web.Design, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"/> entry in the application's "web.config" file.

    It is unclear as to your requirement for enabling Intellisense with JavaScript. But, I wanted to be sure that you've referenced the How to Use JavaScript Intellisense for RadControls documentation page. It provides a method for enabling Intellisense when working with RadControls for ASP.NET AJAX within your JS.

    Hope this helps!
Back to Top