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

The 'DataField' property cannot be set declaratively

1 Answer 127 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 28 Jan 2015, 04:09 PM
I downloaded the latest ASP.NET Ajax controls last night and I'm trying to run a web project (asp.net 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.

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 29 Jan 2015, 03:34 PM
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.

Regards,
Danail Vasilev
Telerik
 

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.

 
Tags
Chart (Obsolete)
Asked by
Steven
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or