I have a Chart.. and a combobox that contains two items viz. 'Bar' and 'Line'. On select of the combobox item, i need to change my chart type. Since ChartType is and Enum... how can i change the ChartType based on the Combobox selected value?
Thanks in Advance
John
1 Answer, 1 is accepted
0
Giuseppe
Telerik team
answered on 25 Jun 2008, 03:29 PM
Hello John,
You can use the Enum.Parse(...) method to achieve the desired effect: