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:
In my master page:
Thanks,
Chris
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