The 'DataField' property cannot be set declaratively

Thread is closed for posting
2 posts, 0 answers
  1. Steven
    Steven avatar
    2 posts
    Member since:
    Sep 2010

    Posted 28 Jan 2015 Link to this post

    I downloaded the latest ASP.NET Ajax controls last night and I'm trying to run a web project ( 4.0) I inherited with an unknown version. I'm getting a run time error on this line:
     <telerik:ColumnSeries  Name="Current" Stacked="false" DataField="CurrPropValue1"   >

    The 'DataField' property cannot be set declaratively.

    This is on the RadHtmlChart control.
  2. Danail Vasilev
    Danail Vasilev avatar
    1476 posts

    Posted 29 Jan 2015 Link to this post

    Hi Steven,

    The DataField property has already been obsoleted. I would suggest that you use the DataFieldY property instead.

    You may also find useful the RadHtmlChart's online demos and documentation, in order to see how to configure the chart.

    Danail Vasilev

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. Telerik UI for ASP.NET Core is out
Back to Top