This is a migrated thread and some comments may be shown as answers.

asp.net ajax intellisense through reference tag

1 Answer 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dan Pettersson
Top achievements
Rank 1
Dan Pettersson asked on 09 Sep 2009, 07:36 AM
If I use the following syntax in a .js file to point to a page that contains a regular asp.net scriptmanager I get intellisense for asp.net 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...

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 11 Sep 2009, 01:47 PM
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).

Regards,
Albert,
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.
Tags
General Discussions
Asked by
Dan Pettersson
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or