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

Static Client Library

1 Answer 30 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Christopher Blickley
Top achievements
Rank 2
Christopher Blickley asked on 10 Mar 2010, 06:42 PM
Hi,

I just upgraded to the new version after playing with the beta for a few weeks.  The new JavaScript intellisense is awesome.  I have two questions:

Is the Telerik Static Client Library that is mentioned in the documentation still supported?  When intellisense pops up in the editor when I type "$telerik.", I only see the new methods for find<RadControl> and to<RadControl>.  I don't see any of the other methods from the documentation like "isIE8", "clongControl", "addCssClasses", etc.  Are they still there, or just not showing up in Intellisense?

Second, what do you recommend as the best way to get JavaScript Intellisense working on a user control?  I have the script references setup on my master page, which gives me intellisense on the master page and the content pages.  I also include commented out references in the external .js files as copied below to get Intellisense in those files, but I haven't figured out a way to get it working in a user control.  My goal is to get intellisense for the RadControls as well as the built-in jQuery.

In external script files:
/// <reference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />   
/// <reference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />  
/// <reference Assembly="Telerik.Web.UI"  

In my master page:
<asp:ScriptManager runat="server" id="scriptManagerMaster" AllowCustomErrorsRedirect="true">  
    <Scripts> 
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />   
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />   
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" /> 
    </Scripts> 
</asp:ScriptManager> 

Thanks,
Chris

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 12 Mar 2010, 06:01 PM
Hello Christopher,

Unfortunately the client Telerik static library is not documented as part of the JavaScript IntelliSense yet. We will include JS IntelliSense for it for the Q1 2010 SP1 release of the suite, expected in mid April. I hope this is not causing you inconvenience - until then you can refer to the corresponding help article.

Regarding your observation for user controls - it seems that this is Visual Studio limitation or not supported scenario. In support of my statement I created a demo application using ScriptManagerProxy inside content page and user control (enclosed to this message). The JS IntelliSense does not appear inside the user control instance either for RadControls or jQuery referenced from external scripts in the root of the site.

Best regards,
Sebastian
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.
Tags
General Discussions
Asked by
Christopher Blickley
Top achievements
Rank 2
Answers by
Sebastian
Telerik team
Share this question
or