Completed
Last Updated: 11 Dec 2020 13:35 by ADMIN
Release R1 2021
rumen jekov
Created on: 11 Dec 2020 13:30
Category: UI for ASP.NET AJAX
Type: Bug Report
0
ClientExportManager throws cannot read property expand of undefined
Export to PDF throws JS error when no jQuery is loaded in window.$
1 comment
ADMIN
Rumen
Posted on: 11 Dec 2020 13:33

Hi all,

The problem will be fixed in R1 2021.

The workarounds for the old version are:

  • set jQuery globally with a script:

    window.$ = window.$ || $telerik.$;
  • Include a script reference to the Telerik.Web.UI.Common.jQueryInclude.js: https://docs.telerik.com/devtools/aspnet-ajax/general-information/using-jquery/using-jquery#using-the-jquery-brought-by-telerik   

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

 

Regards,
Rumen
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.