C
Charles A. Lackman
Hello,
I have a custom Web Control that I created in ASP 2.0 that I am populating
with data from a database.
Basically, For i = 0 to table.rows.count
Mycontrol(i) = LoadControl("aControl.ascx")
Page.FindControl("Panel1").Controls.Add(Mycontrol(i))
Next
Each time the control is placed on the form, it stacks on top of the
original one. So only the last one is displayed because all the other ones
are under the last one.
The page is set to Flow.
I have also tried this with:
Page.FindControl("Form1").Controls.Add(Mycontrol(i))
Any suggestions will be greatly appreciated.
Thanks,
Chuck
I have a custom Web Control that I created in ASP 2.0 that I am populating
with data from a database.
Basically, For i = 0 to table.rows.count
Mycontrol(i) = LoadControl("aControl.ascx")
Page.FindControl("Panel1").Controls.Add(Mycontrol(i))
Next
Each time the control is placed on the form, it stacks on top of the
original one. So only the last one is displayed because all the other ones
are under the last one.
The page is set to Flow.
I have also tried this with:
Page.FindControl("Form1").Controls.Add(Mycontrol(i))
Any suggestions will be greatly appreciated.
Thanks,
Chuck