Chart(HTML5) Script Error

0 Answers 61 Views
Chart (HTML5)
Fred
Top achievements
Rank 2
Iron
Iron
Fred asked on 12 Aug 2022, 04:29 PM

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"; 
Rumen
Telerik team
commented on 17 Aug 2022, 02:55 AM

Hi Fred,

Issues that started occurring recently but used to work as expected before could be caused by 
  • Changes to the environment (IIS, Network, Proxy, Firewall, etc.)
  • or changes to the source code.

Can 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 .
Fred
Top achievements
Rank 2
Iron
Iron
commented on 18 Aug 2022, 11:52 PM | edited

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,

 

 

 

Rumen
Telerik team
commented on 19 Aug 2022, 08:00 AM

Thank you for the project, Fred! The download, however, is forbidden, and I requested file access which is awaiting approval.

 

 

Rumen
Telerik team
commented on 19 Aug 2022, 02:11 PM

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.

 

Fred
Top achievements
Rank 2
Iron
Iron
commented on 19 Aug 2022, 02:30 PM

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.

No answers yet. Maybe you can help?

Tags
Chart (HTML5)
Asked by
Fred
Top achievements
Rank 2
Iron
Iron
Share this question
or