Since i cannot do the below
Parser Error Message: Databinding expressions are only supported on objects that have a DataBinding event. Telerik.Web.UI.ColumnSeries does not have a DataBinding event.
I'm wondering how I can do this from the code behind, here's how i'm currently building the Chart
<telerik:ColumnSeries Name='<%# Master.GetTranslation("Choice1")%>' DataFieldY="RiskChoice1">Parser Error Message: Databinding expressions are only supported on objects that have a DataBinding event. Telerik.Web.UI.ColumnSeries does not have a DataBinding event.
I'm wondering how I can do this from the code behind, here's how i'm currently building the Chart
Private Sub DoChart4(ByVal Assessment As List(Of ExtendedRiskAssessment)) Dim myDS As DataSet = GetData(Assessment) TopRiskFactors.ChartTitle.Text = Master.GetTranslation("ChartRiskFactors").ToString TopRiskFactors.ChartTitle.Appearance.TextStyle.Bold = True TopRiskFactors.PlotArea.XAxis.TitleAppearance.TextStyle.Bold = True TopRiskFactors.PlotArea.YAxis.TitleAppearance.TextStyle.Bold = True TopRiskFactors.PlotArea.XAxis.TitleAppearance.Text = Master.GetTranslation("RiskFactors").ToString TopRiskFactors.PlotArea.YAxis.TitleAppearance.Text = Master.GetTranslation("RiskChoices").ToString TopRiskFactors.DataSource = myDS TopRiskFactors.DataBind() 'Setting pragmatically the XAxis values TopRiskFactors.PlotArea.XAxis.DataLabelsField = "Name"End SubPrivate Function GetData(ByVal Assessment As List(Of ExtendedRiskAssessment)) As DataSet returnRiskCount(Assessment) Dim ds As New DataSet("Risk") Dim dt As New DataTable("RiskFactors") dt.Columns.Add("Id", Type.[GetType]("System.Int32")) dt.Columns.Add("Name", Type.[GetType]("System.String")) dt.Columns.Add("RiskChoice1", Type.[GetType]("System.Int32")) dt.Columns.Add("RiskChoice2", Type.[GetType]("System.Int32")) dt.Columns.Add("RiskChoice3", Type.[GetType]("System.Int32")) dt.Columns.Add("RiskChoice4", Type.[GetType]("System.Int32")) dt.Columns.Add("RiskChoice5", Type.[GetType]("System.Int32")) '**** Dim Choices As countRiskChoice = Risk.Item(1) dt.Rows.Add(1, Master.GetTranslation("AgreementMateriality").ToString, returnCount(Choices).Count1, returnCount(Choices).Count2, returnCount(Choices).Count3, returnCount(Choices).Count4, returnCount(Choices).Count5) '**** 'Etc.