I would like to link the function of my Chart Output Button to the items in my check box list such that when an item in the check box is selected or deselected, the page is reloaded again and my chart is refreshed.
My codes to refresh the chart have already been included for the Chart Output Button.
protected void ChartOutputButton_Click(object sender, EventArgs e)
{ //do something }
protected void CheckBoxList1_SelectedIndexhanged(object sender, EventArgs e)
{ // display ChartOutputButton method here }
Thanks.
You can directly call button event handler which generates the chart: