All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
<
telerik:RadTextBox
ID
=
"RadTextBox1"
AutoPostBack
"true"
runat
"server"
EmptyMessage
"Enter R or B to chnage the Bar color"
OnTextChanged
"RadTextBox1_TextChanged"
>
</
telerik:RadChart
"RadChart2"
Series
telerik:ChartSeries
Name
"series 1"
Type
"Bar"
Items
telerik:ChartSeriesItem
YValue
"50"
"250"
"500"
"5000"
protected
void
RadTextBox1_TextChanged(
object
sender, EventArgs e)
{
string
Text=RadTextBox1.Text;
foreach
(ChartSeriesItem item
in
RadChart2.Series[0].Items)
if
(Text ==
"R"
)
item.Appearance.FillStyle.MainColor = System.Drawing.Color.Red;
else
item.Appearance.FillStyle.MainColor = System.Drawing.Color.Blue;
}