Completed
Last Updated: 30 Nov 2020 15:07 by ADMIN
Société CompuGROUP Medical Solutions
Created on: 21 Oct 2016 07:19
Category: HtmlChart
Type: Bug Report
0
RadHtmlChart ChartTitle and Quotes
If you set in code behind CharTitle with simple Quote like 
RadChart1.ChartTitle.Text = "Présences sur l'année sélectionnée";
you obtain a blank space chart (nothing display)

you have to set for running
RadChart1.ChartTitle.Text = "Présences sur l'année sélectionnée";
1 comment
ADMIN
Vessy
Posted on: 30 Nov 2020 15:07

Hello,

RadHtmlChart uses JavaScript to render, thus all its properties and data have to pass not only through the code-behind, but also through JavaScript.

In order to be able to render special characters like single quote in the control, they must be escaped either with a backslash, or with their HTML entity. This specific is documented here:

https://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/troubleshooting/handle-special-symbols

Regards,
Vessy
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/.