I'm using the ASP.NET Ajax version 2022.2.613.4.0 HTML Chart. Its been working fine. I have not changed any code or settings. Suddenly my application started throwing the JavaScript error below. I have verified that my data sources are returning the required data. Attached are the code pages.
Grateful for any help troubleshooting and resolving this issue.
/* START Telerik.Web.UI.HtmlChart.RadHtmlChart.js */
(function(a,m){Type.registerNamespace("Telerik.Web.UI");
Type.registerNamespace("Telerik.Web.UI.HtmlChart");
$telerik.toHtmlChart=function(n){return n;
};
$telerik.findHtmlChart=$find;
var b=Telerik.Web.UI,f=window,h=f.kendo,c=h.dataviz.ui.themes{},l=a.proxy,g=a.isFunction,k=f.parseInt,d=10,j="load",i="kendoWidgetInitializing";
HEIGHT="height",WIDTH="width",SPARKLINE="sparkline",DEFAULT_SPARKLINE_HEIGHT="20px",DEFAULT_CHART_HEIGHT=400,STOCK="stock",SERIES_CLICKED="seriesClicked",SERIES_HOVERED="seriesHovered",SERIES_SUPPORTING_GAP_AND_SPACING=["bar","column","radarColumn","candlestick","ohlc"],MISSING_RADCLIENTDATASOURCE="MissingRadClientDataSource";
var e="Default";
Hi Fred,
Issues that started occurring recently but used to work as expected before could be caused byCan you please look for such changes that might cause this JS error?
I also examined the provided files and wasn't able to locate anything problematic or suspicious.
Can you please make a quick Fiddler Jam Chrome Extension capture and share it with us? It will provide a lot of info easily and allow us to investigate further. Keep in mind that starting from a blank page or at least navigating to your page via the address bar is crucial for capturing all requests and responses:
https://docs.telerik.com/devtools/aspnet-ajax/knowledge-base/common-capture-issues-with-fiddler-jam .
Hello Rumen,
Thank you for looking into my issue. Unfortunately, my organization will not allow Fiddler Jam extensions due to security reasons, However, I was able to create a sample solution and place into my Google drive. Below is the link to the project. Also attached is a SS of the console error.
/* The attachment was deleted by Telerik admin */
Again,
thanks for looking into this,
Thank you for the project, Fred! The download, however, is forbidden, and I requested file access which is awaiting approval.
The errors were due to the following JS file
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js"></script>
in the UMMaster.master file.
You have to comment or delete it in order to use the HtmlChart properly.
Thank you Rumen,
That worked. I've been banging my head against the wall for days dealing with this. Another set of eyes are always helpful.
Thanks again.