Wednesday, July 23, 2014

JavaScript Intellisense for Telerik RadControls for ASP.NET AJAX

If you want to leverage JavaScript in the Visual Studio IDE while working with the Telerik RadControls for ASP.NET AJAX, you will need to follow this article:

The article basically states that in the Visual Studio 2012 and Visual Studio 2013 IDEs, you can no longer get JavaScript Intellisense simply by adding the Telerik RadScriptManager to the page.  Instead, you have to revert to using the ASP ScriptManager to the page and linking to the Telerik.Web.UI.Common.Core.js Script Reference.

Alternatively, you can create a sample ASP.NET Page that contains the ScriptManager which can be used solely within the IDE to set up JavaScript Intellisense for the RadControls.

If you work extensively with the Telerik RadControls within your project, you are probably better off using the latter solution to have Intellisense throughout your project without jumping through too many hoops and losing the other benefits of using the Telerik RadScriptManager control on your pages.

No comments:

Post a Comment