This is a migrated thread and some comments may be shown as answers.

Old IOS versions not displaying chart

1 Answer 41 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Mary
Top achievements
Rank 1
Mary asked on 25 Apr 2019, 12:18 AM

This is really weird - I am using html chart in an asp .net site and as of last week clients with 9.x and 10.x versions of IOS on ipad (and possibly iphone) are no longer having charts rendered on a page, everyone else is acting normally. I thought it may have come from an update where i added a radupdatepanel but have removed that and have the same problem.

I can replicate it on my old  ipad but cannot debug it because of the version.

The charts are straight forward:

<telerik:RadHtmlChart runat="server" ID="chtTimeGraph"   class="chartwrapper"  RenderAs="Canvas" Transitions="False"  EnableViewState="False">
         <ClientEvents OnLoad="chartLoad"  />

Have tried with viewstate enabled, without the OnLoad, different renderAs but all to no avail.

is anyone else having this problem?

1 Answer, 1 is accepted

Sort by
0
Mary
Top achievements
Rank 1
answered on 25 Apr 2019, 11:48 PM

This was a complete furphy! Turns out the charts were not loading because on some browsers there was an issue with the following scenario:

Using a RadDataForm, put an onClientClicking call on a button in the item template. Have the called script outside the data form definition.

Fix: (after hours of trial and error) - put the script definition inside the data form definition.

The weird thing was that the page worked perfectly on modern browsers, and the old ones were impossible to catch errors on

Tags
Chart (HTML5)
Asked by
Mary
Top achievements
Rank 1
Answers by
Mary
Top achievements
Rank 1
Share this question
or