Jan 15, 2007 09:49 AM|e_screw|LINK
Seems like you wrote the code in page_load. If you are finding the panels on the page, you need to find them in the
form of the page, as panels are placed inside the form, but not on the page directly.
So its true, you cant find any panel if you use pnlPanel = (Panel) this.FindControl(strPageID); as "this" refers to page, but not the form.
You need to use
pnlPanel = (Panel) this.Form.FindControl(strPageID):