#
dagda1
Hi all,
Has anyone noticed that the code at the bottom of the LoadContent() method of the PageEngine class will never run, that is:
// remove html that was in the original page (Default.aspx)
for (int i = this.Controls.Count -1; i < 0; i --)
this.Controls.RemoveAt(i);
The variable 'i' will never be less than 0 and so the loop will never iterate.
I hope I am not being pedantic by posting this but just wanted to point it out.
Thanks
Paul
Has anyone noticed that the code at the bottom of the LoadContent() method of the PageEngine class will never run, that is:
// remove html that was in the original page (Default.aspx)
for (int i = this.Controls.Count -1; i < 0; i --)
this.Controls.RemoveAt(i);
The variable 'i' will never be less than 0 and so the loop will never iterate.
I hope I am not being pedantic by posting this but just wanted to point it out.
Thanks
Paul