ajax intellisense through reference tag

2 posts, 0 answers
  1. Dan Pettersson
    Dan Pettersson avatar
    20 posts
    Member since:
    Sep 2009

    Posted 09 Sep 2009 Link to this post

    If I use the following syntax in a .js file to point to a page that contains a regular scriptmanager I get intellisense for ajax:

    /// <reference path="ScriptManagerForIntellisense.aspx" /> 

    If I use the same syntax to point to a page that contains a telerik ScriptManager I don't, even though methods such as $get and $addHandler will work on pages that has such a scriptmanager. Is there any solution to this, right now I have created a separate aspx-file that I reference from my js-file to get the intellisense...
  2. Atanas Korchev
    Atanas Korchev avatar
    8462 posts

    Posted 11 Sep 2009 Link to this post

    Hi Dan Pettersson,

    This is a known limitation of RadScriptManager. Unfortunately Visual Studio only check for ScriptManager when parsing for intellisense. Any control inheriting from ScriptManager will not work (inluding RadScriptManager).

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top