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

2 posts, 0 answers
  1. Mohammed
    Mohammed avatar
    1 posts
    Member since:
    Jan 2014

    Posted 29 Jan 2014 Link to this post

    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 page to set the Value but I don't to show the value of CustomeAttribute to RadHtmlChart on the Page.

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

  2. Stamo Gochev
    Stamo Gochev avatar
    188 posts

    Posted 31 Jan 2014 Link to this post

    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.

    Stamo Gochev
    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.
Back to Top