Hi,
I know the subject is a little confusing but here is my situtation :
I have form.aspx, and on Page_Load I dynamically generate all the controls from our database based on formID.
I make all the decisions on code behind. In this case my form has a toolbar, a pivotgrid and a chart.I wanted to try something different and created a new project for a web user control. I've designed a web user control which contains a toolbar, a pivotgrid and a chart and only needs the pivotgridID which is implemented as a property. The control is named as PivotChart.ascx and class name is PivotChart.On user control's Page_Load I generate the necessary DataSource and bind it to the PivotGrid;
Finally I publish this user control as a DLL and include it on my project.Now back to form.aspx, on Page_Load I'm trying to dynamically create my user Control like PivotChart pvc1 = Go to the complete details ...