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

jQuery intellisense not working

6 Answers 296 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marc Schaaks
Top achievements
Rank 1
Marc Schaaks asked on 27 Apr 2011, 07:42 AM
I get the following jscript error:

Error updating jscript Intellisense: Telerik.Web.UI.Common.Jquery-vsdoc.js:Telerik.Web.UI: '_$' is undefined @ 2217:8.

I followed the documentation as described here: http://www.telerik.com/help/aspnet-ajax/introduction-jquery-intellisense.html but the problem still exists.

What to do ?

6 Answers, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 02 May 2011, 08:02 AM
Hello Marc,

I can reproduce the same error in VS2008 if the reference to jquery-telerik.js is not correct. Can you confirm you have created the file as described in the article you referenced and the correct path is used in its registration?

Best wishes,
Pavel
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Marc Schaaks
Top achievements
Rank 1
answered on 02 May 2011, 08:40 AM
Pavel,

I used the following in the header of web page:

 

<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" />

 



So i do not use a jquery-telerik.js at all.
0
Pavel
Telerik team
answered on 02 May 2011, 09:43 AM
Hi Marc,

If you are using VS2008 you need to follow the instructions in the article you referenced regarding that version of Visual Studio. The references you are using will not work unless you are developing in VS 2010 environment.

Best wishes,
Pavel
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Accepted
Pavel
Telerik team
answered on 02 May 2011, 11:17 AM
Hello Marc,

Just to elaborate, what you need to do is add the following references:
<asp:ScriptManager ID="ScriptManager1" runat="server">
    <Scripts>
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
        <asp:ScriptReference Path="~/Scripts/jquery-1.5.1.js"  />
        <asp:ScriptReference Path="~/Scripts/jquery-1.5.1-vsdoc.js" />
    </Scripts>
</asp:ScriptManager>

I have also attached the necessary scripts.

Regards,
Pavel
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Marc Schaaks
Top achievements
Rank 1
answered on 02 May 2011, 11:34 AM
Pavel,

Indeed the latest solution you provided does work. However it is not very convenient that the official documentation does no state that the solution does NOT work for VS2008.

thx,

Marc.
0
Pavel
Telerik team
answered on 03 May 2011, 01:46 PM
Hello Marc,

Indeed, we will update our documentation to include the needed information.

Best wishes,
Pavel
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
General Discussions
Asked by
Marc Schaaks
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Marc Schaaks
Top achievements
Rank 1
Share this question
or