In the posted code I see 6 places where you added to panel1.... perhaps in some code not posted you had a panel2 you meant to add things to?
Type: Posts; User: jps
In the posted code I see 6 places where you added to panel1.... perhaps in some code not posted you had a panel2 you meant to add things to?