or
public WebCategoryBarChart() { // // Required for telerik Reporting designer support // InitializeComponent(); this.chart1.Series[0].Appearance.LegendDisplayMode = ChartSeriesLegendDisplayMode.ItemLabels; Color[] barColors = new Color[8]{ Color.Purple, Color.SteelBlue, Color.Aqua, Color.Yellow, Color.Navy, Color.Green, Color.Blue, Color.Red }; int i = 0; foreach (ChartSeriesItem item in chart1.Series[0].Items) { item.Appearance.FillStyle.MainColor = barColors[i++]; } // // TODO: Add any constructor code after InitializeComponent call // }private void htmlTextBox1_ItemDataBound(object sender, EventArgs e) { Telerik.Reporting.Processing.HtmlTextBox txtBox = (Telerik.Reporting.Processing.HtmlTextBox)sender; txtBox.Value = "Updated"; }