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

[Solved] Javascript Intellisense and RadControls Prometheus

1 Answer 169 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
lchesnais
Top achievements
Rank 1
lchesnais asked on 27 Mar 2008, 11:04 AM
Hello,

Did someone manage to configure Intellisense to support RadControls "Prometheus" scripts?
I'd like to get autocompletion to write lines such as the following:

    if

(Telerik.Web.UI.RadComboBox.isInstanceOfType(source))


I tried something like the following without success:

    ///<reference name="RadComboBoxScripts.js" assembly="Telerik.Web.UI"/>

Any idea?

Thanks, Laurent

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 27 Mar 2008, 12:07 PM
Hi lchesnais,

You need to add references to a few more JavaScript files:

/// <reference name="MicrosoftAjax.js" /> 
/// <reference name="MicrosoftAjax.debug.js" /> 
/// <reference name="Telerik.Web.UI.Common.Core.js" assembly="Telerik.Web.UI" /> 
/// <reference name="Telerik.Web.UI.Common.Animation.AnimationScripts.js" assembly="Telerik.Web.UI" /> 
/// <reference name="Telerik.Web.UI.Common.Navigation.NavigationScripts.js" assembly="Telerik.Web.UI" /> 
/// <reference name="Telerik.Web.UI.ComboBox.RadComboBoxScripts.js" assembly="Telerik.Web.UI" /> 

Unfortunately VS2008 intellisense cannot parse Core.js for some reason. We managed to workaround that limitation however the build is not public. You can open a formal support ticket to obtain the hotfix.

Kind regards,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
lchesnais
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or