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

Add new attribute to “ColumnSeries” tag in RadHtmlChart (Telerik)

1 Answer 84 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Mohammed
Top achievements
Rank 1
Mohammed asked on 29 Jan 2014, 07:41 AM


I would like to know how to add custom attribute to the ColumnSeries attribute of RadHtmlChart control from Telerik?

I then want to access this attribute in code behind of asp.net page to set the Value but I don't to show the value of CustomeAttribute to RadHtmlChart on the asp.net Page.

<telerik:ColumnSeries CustomeAttribute=""></telerik:ColumnSeries>


1 Answer, 1 is accepted

Sort by
0
Stamo Gochev
Telerik team
answered on 31 Jan 2014, 07:59 AM
Hello Mohammed,

In general, server-side properties could not be added the way you described (in comparison to scripting languages such as JavaScript, where an object could be extended in order to create a new property).

If you want to store some additional information about a chart series, you can use hidden fields, <asp:Panel>, etc. depending on the case.

Regards,
Stamo Gochev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Chart (HTML5)
Asked by
Mohammed
Top achievements
Rank 1
Answers by
Stamo Gochev
Telerik team
Share this question
or