Broken demo pages

2 Answers 149 Views
Grid
Adam
Top achievements
Rank 1
Adam asked on 17 Jan 2023, 02:04 PM

Greetings,

I have noticed today that the following demo pages are broken when using the latest versions of Chrome & Edge:

https://demos.telerik.com/aspnet-ajax/htmlchart/examples/appearance/configuringappearance/defaultcs.aspx

https://demos.telerik.com/aspnet-ajax/htmlchart/examples/functionality/dateaxis/defaultcs.aspx

https://demos.telerik.com/aspnet-ajax/htmlchart/examples/functionality/multiline-labels/defaultcs.aspx

https://demos.telerik.com/aspnet-ajax/htmlchart/examples/functionality/pan-zoom/defaultcs.aspx

Each of these have a series of JavaScript errors that prevent the page from working:

RadHtmlChart.js:79 Uncaught SyntaxError: Invalid or unexpected token
    at b.RadHtmlChart._parseObject (RadHtmlChart.js:79:46)
    at b.RadHtmlChart._configurePlotArea (RadHtmlChart.js:128:47)
    at b.RadHtmlChart._getMainConfig (RadHtmlChart.js:96:20)
    at b.RadHtmlChart._getChartConfig (RadHtmlChart.js:82:3)
    at b.RadHtmlChart._createStandardChart (RadHtmlChart.js:74:57)
    at b.RadHtmlChart.createChart (RadHtmlChart.js:59:3)
    at b.RadHtmlChart._initialize (RadHtmlChart.js:40:3)
    at b.RadHtmlChart.initialize (RadHtmlChart.js:34:7)
    at b.RadHtmlChart.endUpdate (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_QsfScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a5bc44d53-7cae-4d56-af98-205692fecf1f%3aea597d4b%3ab25378d2:6:53689)
    at Sys.Component.create (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_QsfScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a5bc44d53-7cae-4d56-af98-205692fecf1f%3aea597d4b%3ab25378d2:6:55151)

 

Hope this helps ....

2 Answers, 1 is accepted

Sort by
0
Doncho
Telerik team
answered on 20 Jan 2023, 12:14 PM

Hi Adam,

Thank you for reporting this issue!

We are working on fixing the broken Chart demos.

The fix will be live soon.

As a small act of gratitude for reporting this, I have updated the Telerik points of your account.

Kind regards,
Doncho
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
Ralf
Top achievements
Rank 2
Iron
answered on 20 Oct 2025, 03:13 PM
Have you fixed this problem?
Vasko
Telerik team
commented on 21 Oct 2025, 06:04 AM

Hello Ralf,

I have checked the demos mentioned above and they all appear to function without any errors being thrown in the console. If you happen to find other broken demos, please share them with us.

Regards,
Vasko
Progress Telerik

Ralf
Top achievements
Rank 2
Iron
commented on 21 Oct 2025, 06:21 AM

Hi,
i got the same error in my own code using the RadHtmlChart.

Telerik have a BUG in the RadHtmlChart.ChartTitle.Text witch costs me 2 days of work because of the intransparent error above!

If you set a CrLf in the ChartTitle you got this error, too. -> Try it!

BR - Ralf

 

Vasko
Telerik team
commented on 21 Oct 2025, 08:11 AM

Hi Ralf,

How exactly is this bug happening on your end? I tried using the code in https://demos.telerik.com/aspnet-ajax/htmlchart/examples/appearance/configuringappearance/defaultcs.aspx and set the ChartTitle to CrLf, but everything works as expected:

protected void Page_Load(object sender, EventArgs e)
{
    if (!IsPostBack)
    {
        ColumnChart.ChartTitle.Text = "CrLf";
    }
}
 

Which version of the controls are you currently using? I have tested with the latest release (2025.3.825) and it works as expected. 

I have also attached the sample project where I tested and would like to ask you to try and reproduce the error with the setup, then send it for additional investigation.

Regards,
Vasko
Progress Telerik

Tags
Grid
Asked by
Adam
Top achievements
Rank 1
Answers by
Doncho
Telerik team
Ralf
Top achievements
Rank 2
Iron
Share this question
or