Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a user control inside my .aspx page.On that user control i am opening another
user control.On the parent user control i have a chart control.
On the child user controls i have some fields which the user has to fill and submit.
Once the submit button is clicked I want the chart control which is present inside
the parent user control to get binded with the details.
This is the code that i want to execute:
C#
CategoryScoreChart.DataSource = tempTable;
       CategoryScoreChart.DataBind();

But i get an error as the chart "CategoryScoreChart" is present inside parent control.
How can i access that chart and bind it which is present inside the parent user control?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900