New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
Uncaught TypeError $telerik.$ is not a function
Environment
Product | RadEditor for ASP.NET AJAX |
Description
Learn how to fix the $telerik.$
is not a function error when using the Telerik UI for ASP.NET AJAX controls on the page
Solution
To use the $telerik.$
jQuery alias in your script code, you have to have one of the controls listed in the Telerik UI Controls Using jQuery article on the page or import the built-in in the suite jQuery using these inner RadScriptManager tags:
ASPX
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
<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>
</telerik:RadScriptManager>
You can find more information in the Using the jQuery Brought by Telerik article.